Class: Payrix::Resource::Decisions

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

Constant Summary collapse

ATTRS =
[:id, :created, :modified, :creator, :modifier, 
:login, :org, :entity, :decision, :type, 
:target, :action, :sequence, :amount, :value, 
:period, :periodFactor, :low, :high, :inactive, 
:frozen, :division, :application, :options, :errorMessage, 
:reason, :additionalOptions, :level, :schedule, :scheduleFactor, 
:start, :finish, :useCache, :cacheTime]

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) ⇒ Decisions

Returns a new instance of Decisions.



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

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'decisions'
end