Class: Ecom::Model::User
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Ecom::Model::User
- Defined in:
- app/models/ecom/model/user.rb
Constant Summary collapse
- VALID_EMAIL_REGEX =
/\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i.freeze
Instance Method Summary collapse
Instance Method Details
#full_name ⇒ Object
13 14 15 |
# File 'app/models/ecom/model/user.rb', line 13 def full_name "#{first_name} #{last_name}" end |