Class: User::Action::TriggerPostAction
- Inherits:
-
Service::ActionBase
- Object
- Service::ActionBase
- User::Action::TriggerPostAction
- Defined in:
- app/services/user/action/trigger_post_action.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 14 15 |
# File 'app/services/user/action/trigger_post_action.rb', line 11 def call return if post.blank? || post_action.blank? send(post_action) rescue NoMethodError end |