diff --git a/bin/restclient b/bin/restclient index 63d5fc0..a5e838a 100755 --- a/bin/restclient +++ b/bin/restclient @@ -65,7 +65,7 @@ end def method_missing(s, * args, & b) if POSSIBLE_VERBS.include? s begin - r.send(s, * args, & b) + r.send(s, *args, & b) rescue RestClient::RequestFailed => e print STDERR, e.response.body raise e diff --git a/test.rb b/test.rb new file mode 100644 index 0000000..e69de29