class Forecast::API::Aggregates

Public Instance Methods

future_scheduled_hours_after(date_string, query={}) click to toggle source
# File lib/forecast/api/aggregates.rb, line 6
def future_scheduled_hours_after(date_string, query={})
  url = "#{api_model.api_path}/future_scheduled_hours/#{date_string}"
  response = request(:get, credentials, url, :query => query)
  api_model.parse(response.parsed_response)
end
remaining_budgeted_hours(query={}) click to toggle source
# File lib/forecast/api/aggregates.rb, line 12
def remaining_budgeted_hours(query={})
  url = "#{api_model.api_path}/remaining_budgeted_hours"
  response = request(:get, credentials, url, :query => query)
  api_model.parse(response.parsed_response)
end