class ConektaEvent::NotificationAdapter

Public Class Methods

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

Public Instance Methods

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