Class: Komments::Configuration
- Inherits:
-
Object
- Object
- Komments::Configuration
- Includes:
- Singleton
- Defined in:
- lib/komments/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
10 11 12 13 |
# File 'lib/komments/configuration.rb', line 10 def api_key raise Errors::KommentsAPIKeyNotProvided.new('Check that your API key is set') unless @api_key @api_key end |
Instance Method Details
#root_url ⇒ Object
15 16 17 |
# File 'lib/komments/configuration.rb', line 15 def root_url "komments.net" end |