Sha256: ded45f6a4e73c2949509acd8d79c31a29dfc34faa7cd456f381bbaac32e5e4be
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
module Unidom::Visitor::Concerns::AsCredential extend ActiveSupport::Concern included do |includer| has_one :authenticating, class_name: 'Unidom::Visitor::Authenticating', as: :credential #def authenticate!(it, at: Time.now, flag_code: 'RQRD') # return authenticating if authenticating.present? # create_authenticating! visitor: it, flag_code: flag_code, opened_at: at #end end module ClassMethods end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-visitor-1.5 | app/models/unidom/visitor/concerns/as_credential.rb |