Method: Forecasting::Client#account
- Defined in:
- lib/forecasting/client.rb
#account(id:) ⇒ Forecasting::Models::Account
19 20 21 |
# File 'lib/forecasting/client.rb', line 19 def account(id:) Forecasting::Models::Account.new(get("accounts/#{id}")["account"], forecast_client: self) end |