Class: BrowserStack::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/browser_stack/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_version = 3, user_name = "", password = "") ⇒ Configuration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/browser_stack/configuration.rb', line 5

def initialize(api_version=3,user_name="",password="")
  @api_version = api_version
  @user_name = user_name
  @password = password
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



4
5
6
# File 'lib/browser_stack/configuration.rb', line 4

def api_version
  @api_version
end

#passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/browser_stack/configuration.rb', line 4

def password
  @password
end

#user_nameObject

Returns the value of attribute user_name.



4
5
6
# File 'lib/browser_stack/configuration.rb', line 4

def user_name
  @user_name
end