Method: Workflows#get_workflow

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

#get_workflow(id, options = nil) ⇒ Object

Get workflow.

Get a workflow.

Parameters

id

(Integer) – Workflow id.

options

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

First Example

@data = @mints_user.get_workflow(1)

Second Example

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


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

def get_workflow(id, options = nil)
  @client.raw('get', "/crm/workflows/#{id}", options)
end