Class: SfIntegrator::Configuration
- Inherits:
-
Object
- Object
- SfIntegrator::Configuration
- Defined in:
- lib/sf_integrator/configuration.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
4 5 6 |
# File 'lib/sf_integrator/configuration.rb', line 4 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
4 5 6 |
# File 'lib/sf_integrator/configuration.rb', line 4 def client_secret @client_secret end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/sf_integrator/configuration.rb', line 4 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/sf_integrator/configuration.rb', line 4 def username @username end |
Instance Method Details
#to_hash ⇒ Object
6 7 8 |
# File 'lib/sf_integrator/configuration.rb', line 6 def to_hash { username: username, password: password, client_id: client_id, client_secret: client_secret } end |