Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 281 Bytes
class Service::CodeClimate < Service
string :token
def receive_push
http.ssl[:verify] = false
http.basic_auth "github", token
http_post "https://codeclimate.com/github_pushes", :payload => payload.to_json
end
def token
data["token"].to_s.strip
end
end
Something went wrong with that request. Please try again.