Class: Monban::Domain::Password::Creater
- Inherits:
-
Object
- Object
- Monban::Domain::Password::Creater
- Includes:
- Getto::InitializeWith, Helper
- Defined in:
- lib/monban/domain/password.rb
Instance Method Summary collapse
Instance Method Details
#create(password:) ⇒ Object
24 25 26 27 28 |
# File 'lib/monban/domain/password.rb', line 24 def create(password:) password_creater.create( password: digest(password: password), ) end |