Class: Helpshift::Configuration
- Inherits:
-
Object
- Object
- Helpshift::Configuration
- Defined in:
- lib/helpshift/configuration.rb
Constant Summary collapse
- BASE_DOMAIN =
'https://api.helpshift.com/v1/'.freeze
- Error =
Class.new(StandardError)
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_domain ⇒ Object
readonly
Returns the value of attribute base_domain.
-
#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 |
# File 'lib/helpshift/configuration.rb', line 9 def initialize @base_domain = BASE_DOMAIN end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
7 8 9 |
# File 'lib/helpshift/configuration.rb', line 7 def api_key @api_key end |
#base_domain ⇒ Object (readonly)
Returns the value of attribute base_domain.
6 7 8 |
# File 'lib/helpshift/configuration.rb', line 6 def base_domain @base_domain end |
#customer_domain ⇒ Object
Returns the value of attribute customer_domain.
7 8 9 |
# File 'lib/helpshift/configuration.rb', line 7 def customer_domain @customer_domain end |