Class: FaradaySimulation::Adapter
- Inherits:
-
Faraday::Adapter::Test
- Object
- Faraday::Adapter::Test
- FaradaySimulation::Adapter
- Defined in:
- lib/faraday_simulation/adapter.rb
Instance Method Summary collapse
-
#initialize(app, stubs = nil, &block) ⇒ Adapter
constructor
A new instance of Adapter.
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 |