Sha256: b61d7d7b77f755c9e45d1908a485bdfa68dec8125935dd019225955f8f8699e3
Contents?: true
Size: 242 Bytes
Versions: 30
Compression:
Stored size: 242 Bytes
Contents
event :validate_recaptcha_site_key, :validate do return if content.match?(/^[a-zA-Z0-9\-_]*$/) errors.add :content, "invalid key" # LOCALIZE end event :set_recaptcha_site_key, :finalize do Card.config.recaptcha_site_key = content end
Version data entries
30 entries across 30 versions & 2 rubygems