Class: Rubyists::Linear::WorkflowState

Inherits:
Object
  • Object
show all
Includes:
SemanticLogger::Loggable
Defined in:
lib/linear/models/workflow_state.rb

Overview

The WorkflowState class represents a Linear workflow state.

Constant Summary collapse

Base =
fragment('BaseWorkflowState', 'WorkflowState') do
  id
  name
  position
  type
  description
  createdAt
  updatedAt
end

Instance Method Summary collapse

Instance Method Details

#inspectionObject



28
29
30
# File 'lib/linear/models/workflow_state.rb', line 28

def inspection
  format('name: "%<name>s" type: "%<type>s"', name:, type:)
end

#to_sObject



24
25
26
# File 'lib/linear/models/workflow_state.rb', line 24

def to_s
  format('%<name>-12s %<type>s', name:, type:)
end