Class: Ns::Api::Request::Base
- Inherits:
-
Object
- Object
- Ns::Api::Request::Base
- Defined in:
- lib/ns/api/request/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attributes = {}) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/ns/api/request/base.rb', line 8 def initialize(attributes = {}) HTTPI.log = false end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/ns/api/request/base.rb', line 6 def response @response end |