lib/chairnerd/response/collection_response.rb in chairnerd-0.0.6 vs lib/chairnerd/response/collection_response.rb in chairnerd-0.0.7
- old
+ new
@@ -1,9 +1,8 @@
module Chairnerd
module Response
class CollectionResponse < Base
def initialize(request,response)
- p response[plural_resource].nil?
@collection = response[plural_resource].map {|ins| instance_response_class.new(request,ins) }
super(request,response)
end
def meta
\ No newline at end of file