Class: Ecom::Model::User

Inherits:
ApplicationRecord show all
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_nameObject



13
14
15
# File 'app/models/ecom/model/user.rb', line 13

def full_name
  "#{first_name} #{last_name}"
end