Sha256: cd2ea37207689c85b450a0acb1ec4499f8aaccc1ad9b22eac99f8c611efeb062

Contents?: true

Size: 610 Bytes

Versions: 8

Compression:

Stored size: 610 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Self
# Set: The card "RecaptchaSiteKey"
#
module RecaptchaSiteKey;
extend Card::Set
def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-recaptcha/set/self/recaptcha_site_key.rb"; end
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
end;end;end;end;
# ~~ generated from /Users/ethan/dev/decko/gem/card-mod-recaptcha/set/self/recaptcha_site_key.rb ~~

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.101.7 tmpsets/set/mod035-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.6 tmpsets/set/mod035-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.5 tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.4 tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.3 tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.2 tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.1 tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb
card-1.101.0 tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb