Method: Forecasting::Client#whoami

Defined in:
lib/forecasting/client.rb

#whoamiForecasting::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