Class: ApiEngineBase::InboxService::Blast::NewUserBlaster
- Inherits:
-
ServiceBase
- Object
- ServiceBase
- ApiEngineBase::InboxService::Blast::NewUserBlaster
- Defined in:
- app/services/api_engine_base/inbox_service/blast/new_user_blaster.rb
Constant Summary
Constants inherited from ServiceBase
ServiceBase::ON_ARGUMENT_VALIDATION
Instance Method Summary collapse
Methods inherited from ServiceBase
inherited, #internal_validate, #service_base_logging, #validate!
Methods included from ArgumentValidation
Methods included from ServiceLogging
#aletered_message, #class_name, #log, #log_error, #log_info, #log_prefix, #log_warn, #logger, #service_id
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'app/services/api_engine_base/inbox_service/blast/new_user_blaster.rb', line 11 def call ::MessageBlast.where(new_users: true).each do || InboxService::Message::Send.( user:, text: .text, title: .title, message_blast:, ) end end |