Class: Targetdata::Configuration
- Inherits:
-
Object
- Object
- Targetdata::Configuration
- Defined in:
- lib/targetdata/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.
-
#company_id ⇒ Object
Returns the value of attribute company_id.
-
#grant_type ⇒ Object
Returns the value of attribute grant_type.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
5 6 7 8 |
# File 'lib/targetdata/configuration.rb', line 5 def initialize @grant_type = 'password' @client_id = 2 end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/targetdata/configuration.rb', line 3 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
3 4 5 |
# File 'lib/targetdata/configuration.rb', line 3 def client_secret @client_secret end |
#company_id ⇒ Object
Returns the value of attribute company_id.
3 4 5 |
# File 'lib/targetdata/configuration.rb', line 3 def company_id @company_id end |
#grant_type ⇒ Object
Returns the value of attribute grant_type.
3 4 5 |
# File 'lib/targetdata/configuration.rb', line 3 def grant_type @grant_type end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/targetdata/configuration.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/targetdata/configuration.rb', line 3 def username @username end |