class RecaptchaMailhide::Configuration

Attributes

private_key[W]
public_key[W]

Public Instance Methods

private_key() click to toggle source
# 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() click to toggle source
# 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