Class: Hcp::Request
- Inherits:
-
Object
- Object
- Hcp::Request
- Defined in:
- lib/hcp/request.rb
Overview
One read from Housecall Pro.
Constant Summary collapse
- HOST =
Where Housecall Pro answers.
'https://api.housecallpro.com'
Instance Method Summary collapse
-
#body ⇒ Hash
What Housecall Pro answered.
-
#initialize(path:, params: {}, company_id: nil) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(path:, params: {}, company_id: nil) ⇒ Request
Returns a new instance of Request.
10 11 12 13 14 |
# File 'lib/hcp/request.rb', line 10 def initialize(path:, params: {}, company_id: nil) @path = path @params = params @company_id = company_id end |