Class: V1::WorkflowResource

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

Overview

Provides a JSON:API representation of Workflow.

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

#nameString

Returns the name of the workflow.

Returns:

  • (String)

    the name of the workflow



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

attributes :name, :pipeline

#pipelineString

Returns the pipeline of the workflow.

Returns:

  • (String)

    the pipeline of the workflow



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

attributes :name, :pipeline