lib/kentaa/api/resources/donations.rb in kentaa-api-0.4.0 vs lib/kentaa/api/resources/donations.rb in kentaa-api-0.5.0
- old
+ new
@@ -20,10 +20,10 @@
@donations ||= begin
donations = []
if data
data.each do |donation|
- donations << Kentaa::Api::Resources::Donation.new(config, data: donation)
+ donations << Kentaa::Api::Resources::Donation.new(config, data: donation, options: options)
end
end
donations
end