module SageoneSdk::Client::PeriodTypes

Represents the rate frequency in Sage One and refers to the chargeable period of a service. For example, hourly or daily.

Public Instance Methods

period_type(id, options = {}) click to toggle source

@return [object] Returns the rate frequency with the given id.

# File lib/sageone_sdk/client/period_types.rb, line 14
def period_type(id, options = {})
  get "period_types/#{id}", options
end
period_types(options = {}) click to toggle source

@return [object] Returns all rate frequencies.

# File lib/sageone_sdk/client/period_types.rb, line 9
def period_types(options = {})
  get "period_types", options
end