lib/constantcontact/services/event_spot_service.rb in constantcontact-ruby-2.2.0 vs lib/constantcontact/services/event_spot_service.rb in constantcontact-ruby-2.2.1
- old
+ new
@@ -200,10 +200,10 @@
registrants = body['results'].collect do |registrant|
Components::Registrant.create(registrant)
end
- Components::ResultSet.new(registrants, body['meta'])
+ Components::ResultSet.new(registrants, body['meta'], Components::Registrant, :create)
end
# Get an individual event registant
# @param [Integer] event - Valid event id
\ No newline at end of file