lib/lolcommits/plugin/uploldz.rb in lolcommits-uploldz-0.5.0 vs lib/lolcommits/plugin/uploldz.rb in lolcommits-uploldz-0.6.0
- old
+ new
@@ -47,9 +47,10 @@
# @return [RestClient::Response] response object from POST request
# @return [Nil] if any error occurs
#
def run_capture_ready
debug "Posting capture to #{configuration[:endpoint]}"
+
RestClient.post(
configuration[:endpoint],
{
file: File.new(runner.lolcommit_path),
message: runner.message,