Sha256: 9613ece8f5a13c393d5f035a8322d5133c2183f30302ead69d80fe2ec984c385

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

module Thincloud
  module Auth
    module Model
      extend ActiveSupport::Concern

      included do
        has_secure_password
        validates :email, presence: true, uniqueness: true
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thincloud-auth-0.1.2 lib/thincloud/auth/model.rb
thincloud-auth-0.1.1 lib/thincloud/auth/model.rb
thincloud-auth-0.1.0 lib/thincloud/auth/model.rb