Sha256: f50c7ce31e6823bba875bdba653492ca44d69841a761807a3389974d4ab32d66

Contents?: true

Size: 381 Bytes

Versions: 48

Compression:

Stored size: 381 Bytes

Contents

module Incline
  class PasswordReset
    include ActiveModel::Model
    include ActiveModel::Validations

    attr_accessor :password
    attr_accessor :recaptcha

    validates :password, presence: true, length: { minimum: 8 }, confirmation: true
    validates :password_confirmation, presence: true
    validates :recaptcha, presence: true, 'incline/recaptcha' => true

  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
incline-0.3.14 app/models/incline/password_reset.rb
incline-0.3.13 app/models/incline/password_reset.rb
incline-0.3.12 app/models/incline/password_reset.rb
incline-0.3.11 app/models/incline/password_reset.rb
incline-0.3.10 app/models/incline/password_reset.rb
incline-0.3.9 app/models/incline/password_reset.rb
incline-0.3.8 app/models/incline/password_reset.rb
incline-0.3.7 app/models/incline/password_reset.rb
incline-0.3.6 app/models/incline/password_reset.rb
incline-0.3.5 app/models/incline/password_reset.rb
incline-0.3.4 app/models/incline/password_reset.rb
incline-0.3.3 app/models/incline/password_reset.rb
incline-0.3.2 app/models/incline/password_reset.rb
incline-0.3.1 app/models/incline/password_reset.rb
incline-0.3.0 app/models/incline/password_reset.rb
incline-0.2.36 app/models/incline/password_reset.rb
incline-0.2.35 app/models/incline/password_reset.rb
incline-0.2.34 app/models/incline/password_reset.rb
incline-0.2.28 app/models/incline/password_reset.rb
incline-0.2.27 app/models/incline/password_reset.rb