lib/activehook/server/queue.rb in activehook-0.1.4 vs lib/activehook/server/queue.rb in activehook-0.1.5
- old
+ new
@@ -34,10 +34,10 @@
end
class HookRunner
def initialize(json)
@hook = Hook.new(JSON.parse(json))
- @post = Send.new(uri: @hook.uri, payload: @hook.secure_payload)
+ @post = Send.new(hook: @hook)
start
end
def start
@post.start