Class: Reach5::Configuration
- Inherits:
-
Object
- Object
- Reach5::Configuration
- Defined in:
- lib/reach5/configuration.rb
Overview
Global configuration for API calls.
Instance Attribute Summary collapse
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#customer_domain ⇒ Object
Returns the value of attribute customer_domain.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 |
# File 'lib/reach5/configuration.rb', line 9 def initialize @customer_domain = "NO_CUSTOMER_DOMAIN_SET" @client_key = "NO_CLIENT_KEY_SET" @client_secret = "NO_SECRET_ACCESS_TOKEN_SET" end |
Instance Attribute Details
#client_key ⇒ Object
Returns the value of attribute client_key.
6 7 8 |
# File 'lib/reach5/configuration.rb', line 6 def client_key @client_key end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
7 8 9 |
# File 'lib/reach5/configuration.rb', line 7 def client_secret @client_secret end |
#customer_domain ⇒ Object
Returns the value of attribute customer_domain.
5 6 7 |
# File 'lib/reach5/configuration.rb', line 5 def customer_domain @customer_domain end |