Class: Forecasting::Models::UserConnection

Inherits:
Base
  • Object
show all
Defined in:
lib/forecasting/models/user_connection.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #forecast_client

Instance Method Summary collapse

Methods inherited from Base

attributed, #initialize, modeled, #to_hash

Constructor Details

This class inherits a constructor from Forecasting::Models::Base

Instance Method Details

#personObject



8
9
10
# File 'lib/forecasting/models/user_connection.rb', line 8

def person
  forecast_client.person(id: person_id)
end