Class: Caviidae::Configuration
- Inherits:
-
Object
- Object
- Caviidae::Configuration
- Defined in:
- lib/caviidae/config.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
OAuth client id.
-
#client_secret ⇒ Object
OAuth client secret.
-
#host ⇒ Object
Login host.
-
#materialize ⇒ Object
An array of sobjects to materialize at the start.
-
#password ⇒ Object
SFDC password.
-
#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.
31 32 33 34 |
# File 'lib/caviidae/config.rb', line 31 def initialize @security_token = "login.salesforce.com" @materialize = [] end |
Instance Attribute Details
#client_id ⇒ Object
OAuth client id
17 18 19 |
# File 'lib/caviidae/config.rb', line 17 def client_id @client_id end |
#client_secret ⇒ Object
OAuth client secret
19 20 21 |
# File 'lib/caviidae/config.rb', line 19 def client_secret @client_secret end |
#host ⇒ Object
Login host. Defaults to login.salesforce.com
27 28 29 |
# File 'lib/caviidae/config.rb', line 27 def host @host end |
#materialize ⇒ Object
An array of sobjects to materialize at the start
29 30 31 |
# File 'lib/caviidae/config.rb', line 29 def materialize @materialize end |
#password ⇒ Object
SFDC password
23 24 25 |
# File 'lib/caviidae/config.rb', line 23 def password @password end |
#security_token ⇒ Object
SFDC security token
25 26 27 |
# File 'lib/caviidae/config.rb', line 25 def security_token @security_token end |
#username ⇒ Object
SFDC username
21 22 23 |
# File 'lib/caviidae/config.rb', line 21 def username @username end |