class SquareEvent::NotificationAdapter

Public Class Methods

call(callable) click to toggle source
# File lib/square_event.rb, line 48
def self.call(callable)
  new(callable)
end

Public Instance Methods

call(*args) click to toggle source
# File lib/square_event.rb, line 52
def call(*args)
  payload = args.last
  subscriber.call(payload)
end