Permalink
Browse files

Merge pull request #1 from sorah/master

res.response.to_ary[1] will be removed
  • Loading branch information...
2 parents 4ed6b99 + fccf92b commit dbfe75c1e3917945b2d63518f6979b60c83b18d2 @rakusai rakusai committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gyazo.app/Contents/Resources/script
@@ -62,7 +62,7 @@ header ={
Net::HTTP.start(HOST,80){|http|
res = http.post(CGI,data,header)
- url = res.response.to_ary[1]
+ url = res.response.body
system "echo -n #{url} | pbcopy"
system "open #{url}"

0 comments on commit dbfe75c

Please sign in to comment.