Sha256: 84987785f52fda5d2d1915480836c9ef6617d21fe7637ac3ac1f927fe174b1bd

Contents?: true

Size: 312 Bytes

Versions: 48

Compression:

Stored size: 312 Bytes

Contents

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

    attr_accessor :email
    attr_accessor :recaptcha

    validates :email, presence: true, 'incline/email' => 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_request.rb
incline-0.3.13 app/models/incline/password_reset_request.rb
incline-0.3.12 app/models/incline/password_reset_request.rb
incline-0.3.11 app/models/incline/password_reset_request.rb
incline-0.3.10 app/models/incline/password_reset_request.rb
incline-0.3.9 app/models/incline/password_reset_request.rb
incline-0.3.8 app/models/incline/password_reset_request.rb
incline-0.3.7 app/models/incline/password_reset_request.rb
incline-0.3.6 app/models/incline/password_reset_request.rb
incline-0.3.5 app/models/incline/password_reset_request.rb
incline-0.3.4 app/models/incline/password_reset_request.rb
incline-0.3.3 app/models/incline/password_reset_request.rb
incline-0.3.2 app/models/incline/password_reset_request.rb
incline-0.3.1 app/models/incline/password_reset_request.rb
incline-0.3.0 app/models/incline/password_reset_request.rb
incline-0.2.36 app/models/incline/password_reset_request.rb
incline-0.2.35 app/models/incline/password_reset_request.rb
incline-0.2.34 app/models/incline/password_reset_request.rb
incline-0.2.28 app/models/incline/password_reset_request.rb
incline-0.2.27 app/models/incline/password_reset_request.rb