Class: Saucer::Sauce

Inherits:
Object
  • Object
show all
Includes:
Annotations
Defined in:
lib/saucer/sauce.rb

Instance Method Summary collapse

Methods included from Annotations

#breakpoint, #build_name=, #comment=, #job_info=, #job_name=, #job_result=, #job_tags=, #start_vm, #stop_vm

Constructor Details

#initialize(driver, config) ⇒ Sauce

Returns a new instance of Sauce.



8
9
10
11
# File 'lib/saucer/sauce.rb', line 8

def initialize(driver, config)
  @driver = driver
  @config = config
end

Instance Method Details

#apiObject



13
14
15
# File 'lib/saucer/sauce.rb', line 13

def api
  @api ||= API.new(@driver, @config)
end

#driverObject



17
18
19
# File 'lib/saucer/sauce.rb', line 17

def driver
  @driver
end