Class: Helpshift::Configuration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



7
8
9
# File 'lib/helpshift/configuration.rb', line 7

def api_key
  @api_key
end

#base_domainObject (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_domainObject

Returns the value of attribute customer_domain.



7
8
9
# File 'lib/helpshift/configuration.rb', line 7

def customer_domain
  @customer_domain
end