Class: Metadata::CapacityUnit
- Inherits:
-
Object
- Object
- Metadata::CapacityUnit
- Defined in:
- lib/tablestore/metadata.rb
Instance Attribute Summary collapse
-
#read ⇒ Object
Returns the value of attribute read.
-
#write ⇒ Object
Returns the value of attribute write.
Instance Method Summary collapse
-
#initialize(read = 0, write = 0) ⇒ CapacityUnit
constructor
A new instance of CapacityUnit.
Constructor Details
#initialize(read = 0, write = 0) ⇒ CapacityUnit
Returns a new instance of CapacityUnit.
63 64 65 66 |
# File 'lib/tablestore/metadata.rb', line 63 def initialize(read=0, write=0) self.read = read self.write = write end |
Instance Attribute Details
#read ⇒ Object
Returns the value of attribute read.
62 63 64 |
# File 'lib/tablestore/metadata.rb', line 62 def read @read end |
#write ⇒ Object
Returns the value of attribute write.
62 63 64 |
# File 'lib/tablestore/metadata.rb', line 62 def write @write end |