Class: HighLevel::Resources::Workflows

Inherits:
Base
  • Object
show all
Defined in:
lib/high_level/resources/workflows.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from HighLevel::Resources::Base

Instance Method Details

#get_workflow(location_id: nil, **_opts) ⇒ Object

Get Workflow



10
11
12
13
14
15
16
17
# File 'lib/high_level/resources/workflows.rb', line 10

def get_workflow(location_id: nil, **_opts)
  request(
    method: :get,
    path: "/workflows/",
    security: ["bearer"],
    params: { "locationId" => location_id }.compact
  )
end