lib/active_merchant/billing/compatibility.rb in activemerchant-1.85.0 vs lib/active_merchant/billing/compatibility.rb in activemerchant-1.86.0
- old
+ new
@@ -73,11 +73,11 @@
def []=(key, value)
super(key.to_s, value)
end
def empty?
- all?{|k, v| v && v.empty?}
+ all?{|k, v| v&.empty?}
end
def on(field)
self[field].to_a.first
end
@@ -113,6 +113,5 @@
end
Compatibility::Model.send(:include, Rails::Model)
end
end
-