Sha256: d961d060204f485470467164b5d621d39126059ca6cc2bc9b063c1a1c69dfa50

Contents?: true

Size: 602 Bytes

Versions: 9

Compression:

Stored size: 602 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/admin/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/admin/set/self/recaptcha_site_key.rb ~~

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
card-1.99.4 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.99.3 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.99.2 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.99.1 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.99.0 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.98.3 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.98.2 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.98.1 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb
card-1.98.0 tmpsets/set/mod002-admin/self/recaptcha_site_key.rb