Class: AutomationObject::BluePrint::Composite::Top

Inherits:
Base
  • Object
show all
Defined in:
lib/automation_object/blue_print/composite/top.rb

Overview

Top composite class, passing method to adapter only Hoping to improve code completion and standard interface where classes use this as a template to add additional adapters

Instance Attribute Summary

Attributes inherited from Base

#adapter

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from AutomationObject::BluePrint::Composite::Base

Instance Method Details

#base_urlString?

Returns base url to navigate to upon framework creation

Returns:

  • (String, nil)

    base url to navigate to upon framework creation



27
28
29
# File 'lib/automation_object/blue_print/composite/top.rb', line 27

def base_url
  adapter.base_url
end

#default_screenSymbol?

Returns default screen to be set when framework is created

Returns:

  • (Symbol, nil)

    default screen to be set when framework is created



32
33
34
# File 'lib/automation_object/blue_print/composite/top.rb', line 32

def default_screen
  adapter.default_screen
end

#screen_transition_sleepNumeric

Returns sleep when transitioning screens

Returns:

  • (Numeric)

    sleep when transitioning screens



37
38
39
# File 'lib/automation_object/blue_print/composite/top.rb', line 37

def screen_transition_sleep
  adapter.screen_transition_sleep
end

#screensHash<AutomationObject::BluePrint::Composite::Screen>



17
18
19
# File 'lib/automation_object/blue_print/composite/top.rb', line 17

def screens
  adapter.screens
end

#throttle_driver_methodsHash

Returns driver methods to throttle

Returns:

  • (Hash)

    driver methods to throttle



42
43
44
# File 'lib/automation_object/blue_print/composite/top.rb', line 42

def throttle_driver_methods
  adapter.throttle_driver_methods
end

#throttle_element_methodsHash

Returns element methods to throttle

Returns:

  • (Hash)

    element methods to throttle



47
48
49
# File 'lib/automation_object/blue_print/composite/top.rb', line 47

def throttle_element_methods
  adapter.throttle_element_methods
end

#viewsHash<AutomationObject::BluePrint::Composite::View>



22
23
24
# File 'lib/automation_object/blue_print/composite/top.rb', line 22

def views
  adapter.views
end