Class: AbstractApiWrapper::Response::Resource
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- AbstractApiWrapper::Response::Resource
- Defined in:
- lib/abstract_api_wrapper.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(*options) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(*options) ⇒ Resource
Returns a new instance of Resource.
140 141 142 143 |
# File 'lib/abstract_api_wrapper.rb', line 140 def initialize(*) @request = [1] if [1] super([0]) end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
138 139 140 |
# File 'lib/abstract_api_wrapper.rb', line 138 def request @request end |