Commit 930da900 authored by Jose Torres's avatar Jose Torres

Added class to self when calling a post method.

parent b6add255
...@@ -46,7 +46,7 @@ class JenkinsService < CiService ...@@ -46,7 +46,7 @@ class JenkinsService < CiService
end end
def execute(data) def execute(data)
self.post( self.class.post(
hook_url, hook_url,
body: data.to_json, body: data.to_json,
headers: { headers: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment