class HubspotEvent::NotificationAdapter
Public Class Methods
call(callable)
click to toggle source
# File lib/hubspot_event.rb, line 44 def self.call(callable) new(callable) end
Public Instance Methods
call(*args)
click to toggle source
# File lib/hubspot_event.rb, line 48 def call(*args) payload = args.last subscriber.call(payload) end