Class: Xooa::Response::QueryResponse
- Inherits:
-
Object
- Object
- Xooa::Response::QueryResponse
- Defined in:
- lib/xooa/response/QueryResponse.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#display ⇒ Object
display the details for the QueryResponse.
-
#initialize(payload) ⇒ Object
constructor
Initialize QueryResponse.
Constructor Details
#initialize(payload) ⇒ Object
Initialize QueryResponse
27 28 29 |
# File 'lib/xooa/response/QueryResponse.rb', line 27 def initialize(payload) @payload = payload end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
21 22 23 |
# File 'lib/xooa/response/QueryResponse.rb', line 21 def payload @payload end |
Instance Method Details
#display ⇒ Object
display the details for the QueryResponse
32 33 34 |
# File 'lib/xooa/response/QueryResponse.rb', line 32 def display puts("Payload - #{@payload}") end |