Class: Ahora::Collection

Inherits:
Array
  • Object
show all
Defined in:
lib/ahora/representation.rb

Constant Summary collapse

NoCacheKeyAvailable =
Class.new(StandardError)

Instance Method Summary collapse

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