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.



6
7
8
9
# File 'lib/saucer/sauce.rb', line 6

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

Instance Method Details

#apiObject



11
12
13
# File 'lib/saucer/sauce.rb', line 11

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

#driverObject



15
16
17
# File 'lib/saucer/sauce.rb', line 15

def driver
  @driver
end