Class: RuCaptcha::Configuration

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

Instance Attribute Summary collapse

Instance Attribute Details

#cache_limitObject

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

#heightObject

Image height, default 48



6
7
8
# File 'lib/rucaptcha/configuration.rb', line 6

def height
  @height
end

#implodeObject

implode, default 0.4



10
11
12
# File 'lib/rucaptcha/configuration.rb', line 10

def implode
  @implode
end

#lenObject

Number of chars, default 4



8
9
10
# File 'lib/rucaptcha/configuration.rb', line 8

def len
  @len
end

#widthObject

Image width, default 150



4
5
6
# File 'lib/rucaptcha/configuration.rb', line 4

def width
  @width
end