Module: Unidom::Visitor::Concerns::AsVisitor::ClassMethods
- Defined in:
- app/models/unidom/visitor/concerns/as_visitor.rb
Instance Method Summary collapse
Instance Method Details
#sign_up!(it, as: nil, through: nil, at: Time.now, flag_code: 'RQRD', primary: true) ⇒ Object
64 65 66 67 68 69 70 |
# File 'app/models/unidom/visitor/concerns/as_visitor.rb', line 64 def sign_up!(it, as: nil, through: nil, at: Time.now, flag_code: 'RQRD', primary: true) user = create! opened_at: at user.cognize! it, primary: true, at: at user.is_identificated! as: as, at: at user.is_authenticated! through: through, at: at user end |