Class: CreateWalletWorker
- Inherits:
-
ApplicationWorker
- Object
- ApplicationWorker
- CreateWalletWorker
- Defined in:
- app/workers/create_wallet_worker.rb
Constant Summary
Constants inherited from ApplicationWorker
Instance Method Summary collapse
Methods inherited from ApplicationWorker
Instance Method Details
#perform(user_id) ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/workers/create_wallet_worker.rb', line 7 def perform(user_id) @user_id = user_id raise UserNotFindError unless user_exists? if create_wallet @success = true end end |