class Freshdesk::Rest::Configuration
Attributes
api_key[W]
domain[W]
Public Class Methods
new()
click to toggle source
# File lib/freshdesk-rest/configuration.rb, line 6 def initialize @api_key = nil @domain = nil end
Public Instance Methods
api_key()
click to toggle source
# File lib/freshdesk-rest/configuration.rb, line 11 def api_key raise 'Freshdesk API key not defined' if @api_key.nil? @api_key end
domain()
click to toggle source
# File lib/freshdesk-rest/configuration.rb, line 16 def domain raise 'Freshdesk domain not defined' if @domain.nil? @domain end