Class: AbstractApiWrapper::Response::Resource
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- AbstractApiWrapper::Response::Resource
- Includes:
- AbstractApiWrapper::ResponseStatus
- 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.
Methods included from AbstractApiWrapper::ResponseStatus
Constructor Details
#initialize(*options) ⇒ Resource
Returns a new instance of Resource.
152 153 154 155 |
# File 'lib/abstract_api_wrapper.rb', line 152 def initialize(*) @request = [1] if [1] super([0]) end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
150 151 152 |
# File 'lib/abstract_api_wrapper.rb', line 150 def request @request end |