Class: Allorails::Base

Inherits:
Response::ApiMappingResponse show all
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

Instance Attribute Summary

Attributes inherited from Response::ApiMappingResponse

#xml

Instance Method Summary collapse

Methods inherited from Response::ApiMappingResponse

#_verify, attribute_reader, node_reader

Methods inherited from Response::ApiResponse

#_verify

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