Method: Forecasting::Client#whoami
- Defined in:
- lib/forecasting/client.rb
#whoami ⇒ Forecasting::Models::User
152 153 154 |
# File 'lib/forecasting/client.rb', line 152 def whoami Forecasting::Models::User.new(get("whoami")["current_user"], forecast_client: self) end |