Class: HighLevel::Resources::Companies

Inherits:
Base
  • Object
show all
Defined in:
lib/high_level/resources/companies.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_company(company_id:, **_opts) ⇒ Object

Get Company

Get Comapny



12
13
14
15
16
17
18
# File 'lib/high_level/resources/companies.rb', line 12

def get_company(company_id:, **_opts)
  request(
    method: :get,
    path: "/companies/#{company_id}",
    security: ["Agency-Access"]
  )
end