Module: RockRMS::Client::WorkflowActionType

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

Constant Summary collapse

PATH =
'WorkflowActionTypes'.freeze

Instance Method Summary collapse

Instance Method Details

#find_workflow_action_type(id) ⇒ Object



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

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

#list_workflow_action_types(options = {}) ⇒ Object



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

def list_workflow_action_types(options = {})
  res = get(PATH)
  Response::WorkflowActionType.format(res)
end