Class: RuCaptcha::Configuration
- Inherits:
-
Object
- Object
- RuCaptcha::Configuration
- Defined in:
- lib/rucaptcha/configuration.rb
Instance Attribute Summary collapse
-
#cache_limit ⇒ Object
Number of Captcha codes limit set 0 to disable limit and file cache, default: 100.
-
#height ⇒ Object
Image height, default 48.
-
#implode ⇒ Object
implode, default 0.4.
-
#len ⇒ Object
Number of chars, default 4.
-
#width ⇒ Object
Image width, default 150.
Instance Attribute Details
#cache_limit ⇒ Object
Number of Captcha codes limit set 0 to disable limit and file cache, default: 100
13 14 15 |
# File 'lib/rucaptcha/configuration.rb', line 13 def cache_limit @cache_limit end |
#height ⇒ Object
Image height, default 48
6 7 8 |
# File 'lib/rucaptcha/configuration.rb', line 6 def height @height end |
#implode ⇒ Object
implode, default 0.4
10 11 12 |
# File 'lib/rucaptcha/configuration.rb', line 10 def implode @implode end |
#len ⇒ Object
Number of chars, default 4
8 9 10 |
# File 'lib/rucaptcha/configuration.rb', line 8 def len @len end |
#width ⇒ Object
Image width, default 150
4 5 6 |
# File 'lib/rucaptcha/configuration.rb', line 4 def width @width end |