Class: Lotus::Model::Adapters::Dynamodb::Collection::Response Private
- Inherits:
-
Object
- Object
- Lotus::Model::Adapters::Dynamodb::Collection::Response
- Defined in:
- lib/lotus/model/adapters/dynamodb/collection.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Response interface provides count and entities.
Instance Attribute Summary collapse
- #count ⇒ Object private
- #entities ⇒ Object private
- #last_evaluated_key ⇒ Object private
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
private
A new instance of Response.
Constructor Details
#initialize ⇒ Response
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Response.
23 24 25 26 |
# File 'lib/lotus/model/adapters/dynamodb/collection.rb', line 23 def initialize @count = 0 @entities = [] end |
Instance Attribute Details
#count ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/lotus/model/adapters/dynamodb/collection.rb', line 21 def count @count end |
#entities ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/lotus/model/adapters/dynamodb/collection.rb', line 21 def entities @entities end |
#last_evaluated_key ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/lotus/model/adapters/dynamodb/collection.rb', line 21 def last_evaluated_key @last_evaluated_key end |