Class: ConciseRuCaptcha::Configuration
- Inherits:
-
Object
- Object
- ConciseRuCaptcha::Configuration
- Defined in:
- lib/concise_rucaptcha/configuration.rb
Instance Attribute Summary collapse
-
#cache_store ⇒ Object
Store Captcha code where, this config more like Rails config.cache_store default: Rails application config.cache_store.
-
#expires_in ⇒ Object
rucaptcha expire time, default 2 minutes.
-
#style ⇒ Object
Color style, default: :colorful, allows: [:colorful, :black_white].
Instance Attribute Details
#cache_store ⇒ Object
Store Captcha code where, this config more like Rails config.cache_store default: Rails application config.cache_store
5 6 7 |
# File 'lib/concise_rucaptcha/configuration.rb', line 5 def cache_store @cache_store end |
#expires_in ⇒ Object
rucaptcha expire time, default 2 minutes
7 8 9 |
# File 'lib/concise_rucaptcha/configuration.rb', line 7 def expires_in @expires_in end |
#style ⇒ Object
Color style, default: :colorful, allows: [:colorful, :black_white]
9 10 11 |
# File 'lib/concise_rucaptcha/configuration.rb', line 9 def style @style end |