Class: Insight::Configuration
- Inherits:
-
Object
- Object
- Insight::Configuration
- Defined in:
- lib/insight/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#fat_free_url ⇒ Object
Returns the value of attribute fat_free_url.
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#product_name ⇒ Object
Returns the value of attribute product_name.
-
#recaptcha_private_key ⇒ Object
Returns the value of attribute recaptcha_private_key.
-
#recaptcha_public_key ⇒ Object
Returns the value of attribute recaptcha_public_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_key ⇒ Object
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_url ⇒ Object
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 |
#layout ⇒ Object
Returns the value of attribute layout.
5 6 7 |
# File 'lib/insight/configuration.rb', line 5 def layout @layout end |
#product_name ⇒ Object
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_key ⇒ Object
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_key ⇒ Object
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 |