Class: Payrix::Resource::Mappings
- Defined in:
- lib/payrix/resource/mappings.rb
Constant Summary collapse
- ATTRS =
[:id, :created, :modified, :creator, :modifier, :login, :name, :description, :input, :output, :namespace]
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ Mappings
constructor
A new instance of Mappings.
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) ⇒ Mappings
Returns a new instance of Mappings.
5 6 7 8 9 |
# File 'lib/payrix/resource/mappings.rb', line 5 def initialize(params) super(params, ATTRS) @resource_name = 'mappings' end |