lib/paypal/payment/recurring.rb in ianfleeton-paypal-express-0.8.7 vs lib/paypal/payment/recurring.rb in ianfleeton-paypal-express-1.0.0
- old
+ new
@@ -18,11 +18,11 @@
self.activation
].compact.inject({}) do |params, attribute|
params.merge! attribute.to_params
end
if self.start_date.is_a?(Time)
- self.start_date = self.start_date.to_s(:db)
+ self.start_date = self.start_date.to_fs(:db)
end
params.merge!(
:DESC => self.description,
:MAXFAILEDPAYMENTS => self.max_fails,
:AUTOBILLOUTAMT => self.auto_bill,
@@ -38,6 +38,6 @@
def numeric_attribute?(key)
super || [:max_fails, :failed_count].include?(key)
end
end
end
-end
\ No newline at end of file
+end