Sha256: 76b4deccc7f63a5d96d116c19758b99502e32f607dfb4f19ff230f7de7a8ea76

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

# card_href is the stored href for the Card
# order_href is the stored href for the Order
card = Balanced::Card.fetch(card_href)
card.credit(
  :amount => 5000,
  :appears_on_statement_as => 'Some text',
  :description => 'Some descriptive text for the debit in the dashboard',
  :order => order_href
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-1.2.1 snippets/card-credit.rb