Class: Allorails::Base
- Inherits:
-
Response::ApiMappingResponse
- Object
- Response::ApiResponse
- Response::ApiMappingResponse
- Allorails::Base
- Defined in:
- lib/allorails/response/model.rb
Overview
Basis for the models used in the Apikit object responses extends ApiMappingResponse to inherit the node_reader helper
Direct Known Subclasses
Code, Country, Keyword, Market, Partner, Payout, PhoneNumber, Price, Pricepoint, Region, Website
Instance Attribute Summary
Attributes inherited from Response::ApiMappingResponse
Instance Method Summary collapse
-
#initialize(node) ⇒ Base
constructor
A new instance of Base.
Methods inherited from Response::ApiMappingResponse
#_verify, attribute_reader, node_reader
Methods inherited from Response::ApiResponse
Constructor Details
#initialize(node) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/allorails/response/model.rb', line 8 def initialize(node) @xml = node end |