class Prpr::Runner
Public Class Methods
new()
click to toggle source
# File lib/prpr/runner.rb, line 3 def initialize bundle end
Public Instance Methods
bundle()
click to toggle source
# File lib/prpr/runner.rb, line 12 def bundle ::Bundler.require rescue ::Bundler::GemfileNotFound end
call(payload, event:)
click to toggle source
# File lib/prpr/runner.rb, line 7 def call(payload, event:) e = Prpr::Event::Event.parse(payload, event: event) Prpr::Handler::Base.on_event e end