Class: Nlpcaptcha::Configuration
- Inherits:
-
Object
- Object
- Nlpcaptcha::Configuration
- Defined in:
- lib/nlpcaptcha/configuration.rb
Overview
end
Instance Attribute Summary collapse
-
#js_url ⇒ Object
Returns the value of attribute js_url.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#publisher_key ⇒ Object
Returns the value of attribute publisher_key.
-
#skip_verify_env ⇒ Object
Returns the value of attribute skip_verify_env.
-
#validate_url ⇒ Object
Returns the value of attribute validate_url.
-
#validator_key ⇒ Object
Returns the value of attribute validator_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
:nodoc:.
Constructor Details
#initialize ⇒ Configuration
:nodoc:
39 40 41 42 43 44 45 46 |
# File 'lib/nlpcaptcha/configuration.rb', line 39 def initialize #:nodoc: @js_url = NLPCAPTCHA_JS_URL @validate_url = NLPCAPTCHA_VALIDATE_URL @skip_verify_env = SKIP_VERIFY_ENV @validator_key = ENV['NLPCAPTCHA_VALIDATOR_KEY'] @private_key = ENV['NLPCAPTCHA_PRIVATE_KEY'] @publisher_key = ENV['NLPCAPTCHA_PUBLISHER_KEY'] end |
Instance Attribute Details
#js_url ⇒ Object
Returns the value of attribute js_url.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def js_url @js_url end |
#private_key ⇒ Object
Returns the value of attribute private_key.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def private_key @private_key end |
#proxy ⇒ Object
Returns the value of attribute proxy.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def proxy @proxy end |
#publisher_key ⇒ Object
Returns the value of attribute publisher_key.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def publisher_key @publisher_key end |
#skip_verify_env ⇒ Object
Returns the value of attribute skip_verify_env.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def skip_verify_env @skip_verify_env end |
#validate_url ⇒ Object
Returns the value of attribute validate_url.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def validate_url @validate_url end |
#validator_key ⇒ Object
Returns the value of attribute validator_key.
30 31 32 |
# File 'lib/nlpcaptcha/configuration.rb', line 30 def validator_key @validator_key end |