lib/recurly/invoice.rb in recurly-2.10.0 vs lib/recurly/invoice.rb in recurly-2.10.1
- old
+ new
@@ -149,10 +149,10 @@
super - ['currency']
end
private
- def initialize attributes = {}
+ def initialize(attributes = {})
super({ :currency => Recurly.default_currency }.merge attributes)
end
def refund_amount_to_xml amount_in_cents = nil, refund_apply_order
builder = XML.new("<invoice/>")