Class: Payrix::Resource::Entities

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

Constant Summary collapse

ATTRS =
[:id, :created, :modified, :creator, :modifier, 
:ipCreated, :ipModified, :clientIp, :login, :parameter, 
:type, :name, :address1, :address2, :city, 
:state, :zip, :country, :timezone, :phone, 
:fax, :email, :website, :ein, :tcVersion, 
:tcDate, :tcIp, :tcAcceptDate, :tcAcceptIp, :custom, 
:inactive, :frozen, :tinStatus, :reserved, :checkStage, 
:public, :customerPhone, :locations, :industry, :displayName, 
:totalCreditDisbursements, :payoutSecondaryDescriptor, :einType, :irsFilingName]

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

Returns a new instance of Entities.



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

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'entities'
end