Class: Ahora::Collection
- Inherits:
-
Array
- Object
- Array
- Ahora::Collection
- Defined in:
- lib/ahora/representation.rb
Constant Summary collapse
- NoCacheKeyAvailable =
Class.new(StandardError)
Instance Method Summary collapse
-
#initialize(instantiator, document_parser, response) ⇒ Collection
constructor
A new instance of Collection.
Constructor Details
#initialize(instantiator, document_parser, response) ⇒ Collection
Returns a new instance of Collection.
92 93 94 95 96 97 |
# File 'lib/ahora/representation.rb', line 92 def initialize(instantiator, document_parser, response) @instantiator = instantiator @document_parser = document_parser @response = response super([]) end |