Sha256: 7c7b404c0d6f53c5c52071e8f6e342ce9553250b3f1af002eda13ea9204ae11e

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 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>
        <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>
        <errors>
        </errors>
        <verification_value></verification_value>
        <number>XXXX-XXXX-XXXX-4444</number>
      </payment_method>
      XML
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spreedly-2.0.11 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.10 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.9 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.8 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.7 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.6 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.5 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.4 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.3 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.2 test/unit/response_stubs/update_credit_card_stubs.rb
spreedly-2.0.1 test/unit/response_stubs/update_credit_card_stubs.rb