Sha256: 593bf90c84a11af8318e9bcb99fcb33d43cc313154bc13e16f2bcf8292286c53

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 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"/>
        <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>
        <number>XXXX-XXXX-XXXX-4444</number>
      </payment_method>
      XML
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spreedly-2.0.14 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.13 test/unit/response_stubs/update_credit_card_stubs.rb