Class: NLBSG::ResponseBase
- Inherits:
-
Object
- Object
- NLBSG::ResponseBase
- Defined in:
- lib/nlbsg/response.rb
Direct Known Subclasses
GetAvailabilityInfoResponse, GetTitleDetailsResponse, SearchResponse
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
- #error_message ⇒ Object
-
#initialize(response) ⇒ ResponseBase
constructor
A new instance of ResponseBase.
- #message ⇒ Object
- #status ⇒ Object
Constructor Details
#initialize(response) ⇒ ResponseBase
Returns a new instance of ResponseBase.
6 7 8 |
# File 'lib/nlbsg/response.rb', line 6 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
4 5 6 |
# File 'lib/nlbsg/response.rb', line 4 def response @response end |
Instance Method Details
#error_message ⇒ Object
18 19 20 |
# File 'lib/nlbsg/response.rb', line 18 def response[:error_message] end |
#message ⇒ Object
14 15 16 |
# File 'lib/nlbsg/response.rb', line 14 def response[:message] end |
#status ⇒ Object
10 11 12 |
# File 'lib/nlbsg/response.rb', line 10 def status response[:status] end |