Class: Forecasting::Models::Client
- Inherits:
-
ForecastRecord
- Object
- Base
- ForecastRecord
- Forecasting::Models::Client
- Defined in:
- lib/forecasting/models/client.rb
Overview
A client record from your Harvest account.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from ForecastRecord
#create, #delete, #fetch, get, #save, #type, #update
Methods inherited from Base
attributed, #initialize, modeled, #to_hash
Constructor Details
This class inherits a constructor from Forecasting::Models::Base
Instance Method Details
#path ⇒ Object
12 13 14 |
# File 'lib/forecasting/models/client.rb', line 12 def path @attributes['id'].nil? ? "clients" : "clients/#{@attributes['id']}" end |