Class: CapybaraSfdc::Configuration
- Inherits:
-
Object
- Object
- CapybaraSfdc::Configuration
- Defined in:
- lib/capybara_sfdc/config.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
OAuth client id.
-
#client_secret ⇒ Object
OAuth client secret.
-
#host ⇒ Object
Login host.
-
#password ⇒ Object
SFDC password.
-
#rspec ⇒ Object
Auto config rspec.
-
#security_token ⇒ Object
SFDC security token.
-
#username ⇒ Object
SFDC username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_id ⇒ Object
OAuth client id
32 33 34 |
# File 'lib/capybara_sfdc/config.rb', line 32 def client_id @client_id end |
#client_secret ⇒ Object
OAuth client secret
34 35 36 |
# File 'lib/capybara_sfdc/config.rb', line 34 def client_secret @client_secret end |
#host ⇒ Object
Login host. Defaults to login.salesforce.com
42 43 44 |
# File 'lib/capybara_sfdc/config.rb', line 42 def host @host end |
#password ⇒ Object
SFDC password
38 39 40 |
# File 'lib/capybara_sfdc/config.rb', line 38 def password @password end |
#rspec ⇒ Object
Auto config rspec
45 46 47 |
# File 'lib/capybara_sfdc/config.rb', line 45 def rspec @rspec end |
#security_token ⇒ Object
SFDC security token
40 41 42 |
# File 'lib/capybara_sfdc/config.rb', line 40 def security_token @security_token end |
#username ⇒ Object
SFDC username
36 37 38 |
# File 'lib/capybara_sfdc/config.rb', line 36 def username @username end |