Class: V1::WorkflowStepResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/workflow_step_resource.rb

Overview

Provides a JSON:API representation of WorkflowStep.

For more information about JSON:API see the JSON:API Specifications or look at the JSONAPI::Resources package for the service implementation of the JSON:API standard.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

Returns the code of the workflow step.

Returns:

  • (String)

    the code of the workflow step



14
# File 'app/resources/v1/workflow_step_resource.rb', line 14

attributes :code, :stage

#stageString

Returns the stage of the workflow step.

Returns:

  • (String)

    the stage of the workflow step



14
# File 'app/resources/v1/workflow_step_resource.rb', line 14

attributes :code, :stage