Module: RockRMS::Client::WorkflowType

Included in:
RockRMS::Client
Defined in:
lib/rock_rms/resources/workflow_type.rb

Constant Summary collapse

PATH =
'WorkflowTypes'.freeze

Instance Method Summary collapse

Instance Method Details

#find_workflow_type(id) ⇒ Object



11
12
13
14
# File 'lib/rock_rms/resources/workflow_type.rb', line 11

def find_workflow_type(id)
  res = get(PATH + "/#{id}")
  Response::WorkflowType.format(res)
end

#list_workflow_types(options = {}) ⇒ Object



6
7
8
9
# File 'lib/rock_rms/resources/workflow_type.rb', line 6

def list_workflow_types(options = {})
  res = get(PATH, options)
  Response::WorkflowType.format(res)
end