lib/marver/entities/summary/event.rb in marver-0.0.6 vs lib/marver/entities/summary/event.rb in marver-0.1.0

- old
+ new

@@ -10,11 +10,11 @@ @type = json['type'] || nil end def full response = Marver::API::Response.new(RestClient.get(@resource_uri)) - data = Marver::DataContainer.new(response).results - Marver::Event.build(data) + results = Marver::DataContainer.new(response).results + Marver::Factory::Event.new(results).build end end end end