Skip to Content Skip to Search
Methods
E
N

Attributes

[R] event
[R] handler

Class Public methods

new(event:)

# File app/models/member_space/postmark/webhook_handler_factory.rb, line 6
def initialize(event:)
  @event = event
  @handler = klass.new(event:)
end

Instance Public methods

execute!()

# File app/models/member_space/postmark/webhook_handler_factory.rb, line 11
def execute!
  return unless allowed_events.include?(event_type)

  handler.execute!
end