Class: Payrix::Resource::Batches

Inherits:
Base
  • Object
show all
Includes:
Mixin::DeleteDisabled
Defined in:
lib/payrix/resource/batches.rb

Constant Summary collapse

ATTRS =
[:id, :created, :modified, :creator, :modifier, 
:merchant, :date, :status, :clientRef, :inactive, 
:frozen, :processingDate, :processingId]

Instance Attribute Summary

Attributes inherited from Base

#resource_name

Instance Method Summary collapse

Methods included from Mixin::DeleteDisabled

#delete

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

Returns a new instance of Batches.



6
7
8
9
10
# File 'lib/payrix/resource/batches.rb', line 6

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'batches'
end