Class: Payrix::Resource::Contacts
- Defined in:
- lib/payrix/resource/contacts.rb
Constant Summary collapse
- ATTRS =
[:id, :created, :modified, :creator, :modifier, :entity, :first, :middle, :last, :description, :email, :fax, :phone, :country, :zip, :state, :city, :address2, :address1, :inactive, :frozen]
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ Contacts
constructor
A new instance of Contacts.
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) ⇒ Contacts
Returns a new instance of Contacts.
5 6 7 8 9 |
# File 'lib/payrix/resource/contacts.rb', line 5 def initialize(params) super(params, ATTRS) @resource_name = 'contacts' end |