Module: RockRMS::Client::WorkflowActivityType

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

Constant Summary collapse

PATH =
'WorkflowActivityTypes'.freeze

Instance Method Summary collapse

Instance Method Details

#find_workflow_activity_type(id) ⇒ Object



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

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

#list_workflow_activity_types(options = {}) ⇒ Object



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

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