Class: Payrix::Resource::Aggregations

Inherits:
Base
  • Object
show all
Defined in:
lib/payrix/resource/aggregations.rb

Constant Summary collapse

ATTRS =
[:id, :created, :modified, :creator, :modifier, 
:login, :name, :description, :resource, :search, 
:totals, :status, :schedule, :scheduleFactor, :start, 
:inactive, :frozen, :entity, :forlogin, :org, 
:team, :division, :partition, :type, :level, 
:default, :degrouping]

Instance Attribute Summary

Attributes inherited from Base

#resource_name

Instance Method Summary collapse

Methods inherited from Base

#create, #delete, #details, #has_errors?, #has_more?, #request_options, #request_options=, #response, #retrieve, #set, #status, #to_json, #totals, #update

Constructor Details

#initialize(params) ⇒ Aggregations

Returns a new instance of Aggregations.



5
6
7
8
9
# File 'lib/payrix/resource/aggregations.rb', line 5

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'aggregations'
end