Sha256: 86066eb209d7660dc46d969f43cd1149abbbb92e18b95c21163d1884bd73ac73

Contents?: true

Size: 1.82 KB

Versions: 12

Compression:

Stored size: 1.82 KB

Contents

module AddGatewayStubs

  def successful_add_test_gateway_response
    StubResponse.succeeded <<-XML
      <gateway>
        <token>4dFb93AiRDEJ18MS9xDGMyu22uO</token>
        <gateway_type>test</gateway_type>
        <name>Test</name>
        <characteristics>
          <supports_purchase type="boolean">true</supports_purchase>
          <supports_authorize type="boolean">true</supports_authorize>
          <supports_capture type="boolean">true</supports_capture>
          <supports_credit type="boolean">true</supports_credit>
          <supports_void type="boolean">true</supports_void>
          <supports_reference_purchase type="boolean">true</supports_reference_purchase>
          <supports_purchase_via_preauthorization type="boolean">true</supports_purchase_via_preauthorization>
          <supports_offsite_purchase type="boolean">true</supports_offsite_purchase>
          <supports_offsite_authorize type="boolean">true</supports_offsite_authorize>
          <supports_3dsecure_purchase type="boolean">true</supports_3dsecure_purchase>
          <supports_3dsecure_authorize type="boolean">true</supports_3dsecure_authorize>
          <supports_store type="boolean">true</supports_store>
          <supports_remove type="boolean">true</supports_remove>
        </characteristics>
        <state>retained</state>
        <payment_methods>
          <payment_method>credit_card</payment_method>
          <payment_method>sprel</payment_method>
          <payment_method>third_party_token</payment_method>
          <payment_method>bank_account</payment_method>
        </payment_methods>
        <gateway_specific_fields/>
        <redacted type="boolean">false</redacted>
        <created_at type="datetime">2013-07-31T17:17:36Z</created_at>
        <updated_at type="datetime">2013-07-31T17:17:36Z</updated_at>
      </gateway>
    XML
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

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