Class: RecaptchaMailhide::Configuration
- Inherits:
-
Object
- Object
- RecaptchaMailhide::Configuration
- Defined in:
- lib/recaptcha_mailhide/configuration.rb
Instance Attribute Summary collapse
Instance Attribute Details
#private_key ⇒ Object
5 6 7 8 |
# File 'lib/recaptcha_mailhide/configuration.rb', line 5 def private_key raise "RecaptchaMailhide's private_key is not set. If you're using Rails add an initializer to config/initializers." unless @private_key @private_key end |
#public_key ⇒ Object
10 11 12 13 |
# File 'lib/recaptcha_mailhide/configuration.rb', line 10 def public_key raise "RecaptchaMailhide's public_key is not set. If you're using Rails add an initializer to config/initializers." unless @public_key @public_key end |