Class: User::Action::TriggerPostAction

Inherits:
Service::ActionBase
  • Object
show all
Defined in:
app/services/user/action/trigger_post_action.rb

Instance Method Summary collapse

Instance Method Details

#callObject



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