Sha256: 75b59ed707d97b59afb9a8d938770b681f55448fc8ffb6c72325600552da8373

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Self
# Set: The card "RecaptchaSecretKey"
#
module RecaptchaSecretKey;
extend Card::Set
def self.source_location; "/Users/ezl5238/dev/decko/gem/mod/recaptcha/set/self/recaptcha_secret_key.rb"; end
event :validate_recaptcha_secret_key, :validate do
  return if content.match?(/^[a-zA-Z0-9\-_]*$/)

  errors.add :content, "invalid key" # LOCALIZE
end

event :set_recaptcha_secret_key, :finalize do
  Card.config.recaptcha_secret_key = content
end
end;end;end;end;
# ~~ generated from /Users/ezl5238/dev/decko/gem/mod/recaptcha/set/self/recaptcha_secret_key.rb ~~

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
card-1.102.0 tmpsets/set/mod035-recaptcha/self/recaptcha_secret_key.rb