lib/lolcommits/plugins/lol_protonet.rb in lolcommits-0.8.1 vs lib/lolcommits/plugins/lol_protonet.rb in lolcommits-0.9.0
- old
+ new
@@ -13,11 +13,11 @@
debug "Posting capture to #{configuration['endpoint']}"
RestClient.post(
api_url,
{
- :files => [File.new(runner.main_image)],
- :message => message
+ files: [File.new(runner.main_image)],
+ message: message
},
'X-Protonet-Token' => configuration['api_token']
)
end