Class: Payrix::Resource::Merchants

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

Constant Summary collapse

ATTRS =
[:id, :created, :modified, :creator, :modifier, 
:lastActivity, :entity, :dba, :new, :established, 
:annualCCSales, :avgTicket, :amex, :discover, :mcc, 
:status, :boarded, :tcDate, :inactive, :frozen, 
:environment, :visaMvv, :chargebackNotificationEmail, :statusReason, :totalApprovedSales]

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

Returns a new instance of Merchants.



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

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'merchants'
end