module PowerSchool::Configuration
Constants
- HOST
- PASSWORD
- USERNAME
- VALID_OPTION_KEYS
Public Class Methods
extend(base)
click to toggle source
# File lib/power_school/configuration.rb, line 14 def self.extend(base) base.reset end
Public Instance Methods
configure() { |self| ... }
click to toggle source
# File lib/power_school/configuration.rb, line 24 def configure yield self client = Selenium::WebDriver::Remote::Http::Default.new client.timeout = 180 # seconds – default is 60 self.browser ||= Watir::Browser.new :chrome, :http_client => client end
reset()
click to toggle source
# File lib/power_school/configuration.rb, line 18 def reset self.host = HOST self.username = USERNAME self.password = PASSWORD end