Sha256: 09d7054ee73b81bcedf2e85bcab402130126dc345351915bc7b7c5fe2095c2c4
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
% if mode == 'definition': Balanced::Customer.add_card % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc') card = Balanced::Card.fetch('/cards/CC3kqm84fxh50avenrUsSKbu') card.associate_to_customer('/customers/CU3eeasZ9yQ86uzzIYZkrPGg') % elif mode == 'response': #<Balanced::Card:0x007fdc9d1192d0 @attributes= {"address"=> {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>nil, "state"=>nil}, "avs_postal_match"=>nil, "avs_result"=>nil, "avs_street_match"=>nil, "brand"=>"MasterCard", "created_at"=>"2014-01-27T22:57:42.092923Z", "cvv"=>nil, "cvv_match"=>nil, "cvv_result"=>nil, "expiration_month"=>12, "expiration_year"=>2020, "fingerprint"=> "fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788", "href"=>"/cards/CC3kqm84fxh50avenrUsSKbu", "id"=>"CC3kqm84fxh50avenrUsSKbu", "is_verified"=>true, "links"=>{"customer"=>"CU3eeasZ9yQ86uzzIYZkrPGg"}, "meta"=>{}, "name"=>nil, "number"=>"xxxxxxxxxxxx5100", "updated_at"=>"2014-01-27T22:57:42.724392Z"}, @hyperlinks= {"card_holds"=> #<Proc:0x007fdc9d122880/lib/balanced/utils.rb:6 (lambda)>, "customer"=> #<Proc:0x007fdc9d120d50/lib/balanced/resources/resource.rb:60 (lambda)>, "debits"=> #<Proc:0x007fdc9d12abc0/lib/balanced/utils.rb:6 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0.beta1 | scenarios/card_associate_to_customer/ruby.mako |