Class: Caviidae::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_idObject

OAuth client id



17
18
19
# File 'lib/caviidae/config.rb', line 17

def client_id
  @client_id
end

#client_secretObject

OAuth client secret



19
20
21
# File 'lib/caviidae/config.rb', line 19

def client_secret
  @client_secret
end

#hostObject

Login host. Defaults to login.salesforce.com



27
28
29
# File 'lib/caviidae/config.rb', line 27

def host
  @host
end

#materializeObject

An array of sobjects to materialize at the start



29
30
31
# File 'lib/caviidae/config.rb', line 29

def materialize
  @materialize
end

#passwordObject

SFDC password



23
24
25
# File 'lib/caviidae/config.rb', line 23

def password
  @password
end

#security_tokenObject

SFDC security token



25
26
27
# File 'lib/caviidae/config.rb', line 25

def security_token
  @security_token
end

#usernameObject

SFDC username



21
22
23
# File 'lib/caviidae/config.rb', line 21

def username
  @username
end