Class: NS1::Response::Base
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- NS1::Response::Base
- Defined in:
- lib/ns1/response/base.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(body, status) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(body, status) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/ns1/response/base.rb', line 8 def initialize(body, status) @status = status super(body) end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/ns1/response/base.rb', line 6 def status @status end |