Class: RecaptchaMailhide::Configuration

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

Instance Attribute Summary collapse

Instance Attribute Details

#private_keyObject



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_keyObject



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