Class: User::Operation::SignUp
- Inherits:
-
Trailblazer::Operation
- Object
- Trailblazer::Operation
- User::Operation::SignUp
- Defined in:
- app/concepts/morpho/user/operation/sign_up.rb
Instance Method Summary collapse
- #not_saved(options) ⇒ Object
- #not_synced(options) ⇒ Object
- #not_valid(options) ⇒ Object
- #save(options) ⇒ Object
- #sync(options) ⇒ Object
- #validate(options) ⇒ Object
Instance Method Details
#not_saved(options) ⇒ Object
32 33 34 |
# File 'app/concepts/morpho/user/operation/sign_up.rb', line 32 def not_saved(, **) ['error'] = :not_saved end |
#not_synced(options) ⇒ Object
28 29 30 |
# File 'app/concepts/morpho/user/operation/sign_up.rb', line 28 def not_synced(, **) ['error'] = :not_synced end |
#not_valid(options) ⇒ Object
24 25 26 |
# File 'app/concepts/morpho/user/operation/sign_up.rb', line 24 def not_valid(, **) ['error'] = :not_valid end |
#save(options) ⇒ Object
19 20 21 22 |
# File 'app/concepts/morpho/user/operation/sign_up.rb', line 19 def save (, **) ['model'] = ['contract'].model ['model'].save end |
#sync(options) ⇒ Object
15 16 17 |
# File 'app/concepts/morpho/user/operation/sign_up.rb', line 15 def sync(, **) ['contract'].sync end |