Class: Xooa::Response::ReadSubSet

Inherits:
Object
  • Object
show all
Defined in:
lib/xooa/response/TransactionResponse.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject

Returns the value of attribute key.



117
118
119
# File 'lib/xooa/response/TransactionResponse.rb', line 117

def key
  @key
end

#versionObject

Returns the value of attribute version.



119
120
121
# File 'lib/xooa/response/TransactionResponse.rb', line 119

def version
  @version
end

Instance Method Details

#displayObject

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