Class: Kookaburra::GivenDriver

Inherits:
Object
  • Object
show all
Defined in:
lib/kookaburra/given_driver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#apiObject (readonly)

Returns the value of attribute api.



3
4
5
# File 'lib/kookaburra/given_driver.rb', line 3

def api
  @api
end

#test_dataObject (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