Class: Insight::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/insight/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
12
13
14
# File 'lib/insight/configuration.rb', line 7

def initialize
  @fat_free_url          = "http://localhost"
  @api_key               = nil
  @layout                = "support_layout"
  @product_name          = "PRODUCT_NAME"
  @recaptcha_public_key  = nil
  @recaptcha_private_key = nil
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



5
6
7
# File 'lib/insight/configuration.rb', line 5

def api_key
  @api_key
end

#fat_free_urlObject

Returns the value of attribute fat_free_url.



5
6
7
# File 'lib/insight/configuration.rb', line 5

def fat_free_url
  @fat_free_url
end

#layoutObject

Returns the value of attribute layout.



5
6
7
# File 'lib/insight/configuration.rb', line 5

def layout
  @layout
end

#product_nameObject

Returns the value of attribute product_name.



5
6
7
# File 'lib/insight/configuration.rb', line 5

def product_name
  @product_name
end

#recaptcha_private_keyObject

Returns the value of attribute recaptcha_private_key.



5
6
7
# File 'lib/insight/configuration.rb', line 5

def recaptcha_private_key
  @recaptcha_private_key
end

#recaptcha_public_keyObject

Returns the value of attribute recaptcha_public_key.



5
6
7
# File 'lib/insight/configuration.rb', line 5

def recaptcha_public_key
  @recaptcha_public_key
end