lib/balanced/resources/card.rb in balanced-0.7.5 vs lib/balanced/resources/card.rb in balanced-0.8.1

- old
+ new

@@ -54,16 +54,18 @@ def hold *args warn_on_positional args options = args.last.is_a?(Hash) ? args.pop : {} amount = args[0] || options.fetch(:amount) { nil } meta = args[1] || options.fetch(:meta) { nil } + description = args[3] || options.fetch(:description) { nil } ensure_associated_to_account! self.account.hold( :amount => amount, :meta => meta, - :source_uri => self.uri + :source_uri => self.uri, + :description => description ) end def invalidate self.is_valid = false