Class: Forecasting::Models::FutureScheduledHours

Inherits:
Base
  • Object
show all
Defined in:
lib/forecasting/models/future_scheduled_hours.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



13
14
15
# File 'lib/forecasting/models/future_scheduled_hours.rb', line 13

def person
  forecast_client.person(id: person_id)
end

#placeholderObject



17
18
19
# File 'lib/forecasting/models/future_scheduled_hours.rb', line 17

def placeholder
  forecast_client.placeholder(id: placeholder_id)
end

#projectObject



9
10
11
# File 'lib/forecasting/models/future_scheduled_hours.rb', line 9

def project
  forecast_client.project(id: project_id)
end