Sha256: c5f739cde37d0c4cb7f3937d1b3c1fb163e0fb7115ef3e6145b047d2689018a5

Contents?: true

Size: 1.38 KB

Versions: 13

Compression:

Stored size: 1.38 KB

Contents

module UpdateCreditCardStubs

  def successful_update_credit_card_response
    StubResponse.succeeded <<-XML
      <payment_method>
        <token>LagdXxK2VXC6DQ5XxP6UdjRJXBn</token>
        <created_at type="datetime">2013-08-13T21:33:09Z</created_at>
        <updated_at type="datetime">2013-08-13T21:33:10Z</updated_at>
        <email>cauthon@wot.com</email>
        <data nil="true"/>
        <storage_state>retained</storage_state>
        <last_four_digits>4444</last_four_digits>
        <first_six_digits>411111</first_six_digits>
        <card_type>master</card_type>
        <first_name>Mat</first_name>
        <last_name>Cauthon</last_name>
        <month type="integer">1</month>
        <year type="integer">2019</year>
        <address1 nil="true"/>
        <address2 nil="true"/>
        <city nil="true"/>
        <state nil="true"/>
        <zip nil="true"/>
        <country nil="true"/>
        <phone_number nil="true"/>
        <company>Acme</company>
        <full_name>Mat Cauthon</full_name>
        <payment_method_type>credit_card</payment_method_type>
        <eligible_for_card_updater type="boolean">true</eligible_for_card_updater>
        <errors>
        </errors>
        <verification_value></verification_value>
        <fingerprint>ac5579920013cc571e506805f1c8f3220eff</fingerprint>
        <number>XXXX-XXXX-XXXX-4444</number>
      </payment_method>
      XML
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spreedly-2.0.28 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.27 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.26 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.25 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.24 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.23 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.22 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.21 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.20 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.19 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.18 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.17 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.16 test/unit/response_stubs/update_credit_card_stubs.rb