class OmniHooks::Strategy::NotificationAdapter
Public Class Methods
call(callable)
click to toggle source
# File lib/omnihooks/strategy.rb, line 161 def self.call(callable) new(callable) end
Public Instance Methods
call(*args)
click to toggle source
# File lib/omnihooks/strategy.rb, line 165 def call(*args) payload = args.last subscriber.call(payload) end