Class: Kookaburra::GivenDriver
- Inherits:
-
Object
- Object
- Kookaburra::GivenDriver
- Defined in:
- lib/kookaburra/given_driver.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
-
#test_data ⇒ Object
readonly
Returns the value of attribute test_data.
Instance Method Summary collapse
-
#initialize(opts) ⇒ GivenDriver
constructor
A new instance of GivenDriver.
Constructor Details
#initialize(opts) ⇒ GivenDriver
Returns a new instance of GivenDriver.
6 7 8 9 |
# File 'lib/kookaburra/given_driver.rb', line 6 def initialize(opts) @api = opts.fetch(:api_driver) @test_data = opts.fetch(:test_data) end |
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
3 4 5 |
# File 'lib/kookaburra/given_driver.rb', line 3 def api @api end |
#test_data ⇒ Object (readonly)
Returns the value of attribute test_data.
4 5 6 |
# File 'lib/kookaburra/given_driver.rb', line 4 def test_data @test_data end |