Class: FaradaySimulation::Adapter

Inherits:
Faraday::Adapter::Test
  • Object
show all
Defined in:
lib/faraday_simulation/adapter.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, stubs = nil, &block) ⇒ Adapter

Returns a new instance of Adapter.



3
4
5
6
# File 'lib/faraday_simulation/adapter.rb', line 3

def initialize(app, stubs=nil, &block)
  stubs = stubs || FaradaySimulation::Stubs.new
  super(app, stubs, &block)
end