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