Class: DynamodbRecord::Pager
- Inherits:
-
Object
- Object
- DynamodbRecord::Pager
- Defined in:
- lib/dynamodb_record/pager.rb
Overview
Dynamodb::Pager
is a abstract class to paginate
Direct Known Subclasses
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Instance Method Summary collapse
-
#initialize(options, klass) ⇒ Pager
constructor
A new instance of Pager.
- #last_evaluated_key ⇒ Object
Constructor Details
#initialize(options, klass) ⇒ Pager
Returns a new instance of Pager.
6 7 8 9 |
# File 'lib/dynamodb_record/pager.rb', line 6 def initialize(, klass) @options = @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
4 5 6 |
# File 'lib/dynamodb_record/pager.rb', line 4 def klass @klass end |
Instance Method Details
#last_evaluated_key ⇒ Object
11 12 13 |
# File 'lib/dynamodb_record/pager.rb', line 11 def last_evaluated_key raise NotImplementedError, 'Este método debe ser implementado por las subclases' end |