Class: CapybaraSfdc::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/capybara_sfdc/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



47
48
49
50
# File 'lib/capybara_sfdc/config.rb', line 47

def initialize
  @security_token = "login.salesforce.com"
  @rspec = true
end

Instance Attribute Details

#client_idObject

OAuth client id



32
33
34
# File 'lib/capybara_sfdc/config.rb', line 32

def client_id
  @client_id
end

#client_secretObject

OAuth client secret



34
35
36
# File 'lib/capybara_sfdc/config.rb', line 34

def client_secret
  @client_secret
end

#hostObject

Login host. Defaults to login.salesforce.com



42
43
44
# File 'lib/capybara_sfdc/config.rb', line 42

def host
  @host
end

#passwordObject

SFDC password



38
39
40
# File 'lib/capybara_sfdc/config.rb', line 38

def password
  @password
end

#rspecObject

Auto config rspec



45
46
47
# File 'lib/capybara_sfdc/config.rb', line 45

def rspec
  @rspec
end

#security_tokenObject

SFDC security token



40
41
42
# File 'lib/capybara_sfdc/config.rb', line 40

def security_token
  @security_token
end

#usernameObject

SFDC username



36
37
38
# File 'lib/capybara_sfdc/config.rb', line 36

def username
  @username
end