Class: Payrix::Resource::Adjustments
- Defined in:
- lib/payrix/resource/adjustments.rb
Constant Summary collapse
- ATTRS =
[:id, :created, :modified, :creator, :modifier, :login, :entity, :fromentity, :description, :amount, :currency, :onentity]
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ Adjustments
constructor
A new instance of Adjustments.
Methods included from Mixin::CreateDisabled
Methods included from Mixin::DeleteDisabled
Methods included from Mixin::UpdateDisabled
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) ⇒ Adjustments
Returns a new instance of Adjustments.
8 9 10 11 12 |
# File 'lib/payrix/resource/adjustments.rb', line 8 def initialize(params) super(params, ATTRS) @resource_name = 'adjustments' end |