Method: WorkflowStepObjects#get_step_object

Defined in:
lib/user/crm/workflow_step_objects.rb

#get_step_object(id, options = nil) ⇒ Object

Get workflow step object.

Get a workflow step object info.

Parameters

id

(Integer) – Workflow step object id.

options

(Hash) – List of Resource Collection Options shown above can be used as parameter.

First Example

@data = @mints_user.get_step_object(1)

Second Example

options = { fields: 'id, step_id' }
@data = @mints_user.get_step_object(1, options)


37
38
39
# File 'lib/user/crm/workflow_step_objects.rb', line 37

def get_step_object(id, options = nil)
  @client.raw('get', "/crm/step-objects/#{id}", options)
end