Class: DynamoDB::Iteratorable
- Inherits:
-
Object
- Object
- DynamoDB::Iteratorable
- Defined in:
- lib/ddbcli/ddb-iteratorable.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#last_evaluated_key ⇒ Object
readonly
Returns the value of attribute last_evaluated_key.
Instance Method Summary collapse
-
#initialize(data, last_evaluated_key) ⇒ Iteratorable
constructor
A new instance of Iteratorable.
Constructor Details
#initialize(data, last_evaluated_key) ⇒ Iteratorable
Returns a new instance of Iteratorable.
6 7 8 9 |
# File 'lib/ddbcli/ddb-iteratorable.rb', line 6 def initialize(data, last_evaluated_key) @data = data @last_evaluated_key = last_evaluated_key end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/ddbcli/ddb-iteratorable.rb', line 3 def data @data end |
#last_evaluated_key ⇒ Object (readonly)
Returns the value of attribute last_evaluated_key.
4 5 6 |
# File 'lib/ddbcli/ddb-iteratorable.rb', line 4 def last_evaluated_key @last_evaluated_key end |