Class: Xooa::Response::ReadSubSet
- Inherits:
-
Object
- Object
- Xooa::Response::ReadSubSet
- Defined in:
- lib/xooa/response/TransactionResponse.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#display ⇒ Object
display the read sub set.
-
#initialize(key, version) ⇒ ReadSubSet
constructor
Initialize ReadSubSet.
Constructor Details
#initialize(key, version) ⇒ ReadSubSet
Initialize ReadSubSet
122 123 124 125 |
# File 'lib/xooa/response/TransactionResponse.rb', line 122 def initialize(key, version) @key = key @version = version end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
117 118 119 |
# File 'lib/xooa/response/TransactionResponse.rb', line 117 def key @key end |
#version ⇒ Object
Returns the value of attribute version.
119 120 121 |
# File 'lib/xooa/response/TransactionResponse.rb', line 119 def version @version end |
Instance Method Details
#display ⇒ Object
display the read sub set
128 129 130 131 132 |
# File 'lib/xooa/response/TransactionResponse.rb', line 128 def display puts("\t\t Key - #{@key}") puts("\t\t Version -") version.display end |