lib/zendesk_api/association.rb in zendesk_api-0.2.6 vs lib/zendesk_api/association.rb in zendesk_api-0.3.0
- old
+ new
@@ -69,10 +69,10 @@
private
def _side_load(resource, side_loads)
side_loads.map! do |side_load|
- resource.send(:wrap_resource, side_load, options[:class], options)
+ resource.send(:wrap_resource, side_load, options)
end
ZendeskAPI::Collection.new(resource.client, options[:class]).tap do |collection|
collection.replace(side_loads)
end