Sha256: 1352cdeaac4e9083bc2da134794d166c8c810b9b422ce50881d9d69e472d8e4b

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

class FakeAdapterForTest < HTTPI::Adapter::Base

  register :fake_adapter_for_test

  def initialize(request)
    @@requests ||= []
    @@requests.push request
    @request = request
  end

  attr_reader :client

  def request(method)
    @@methods ||= []
    @@methods.push method
    HTTPI::Response.new(200, {}, 'wsdl_by_adapter')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wasabi-3.5.0 spec/support/adapter.rb
wasabi-3.4.0 spec/support/adapter.rb
wasabi-3.3.1 spec/support/adapter.rb
wasabi-3.3.0 spec/support/adapter.rb