pelle/oauth — Issue #10: The signature is incorrectly calculated for Curb Requests
Author: libc
Created: 2011-10-19 13:52:07+00:00
State: open

https://github.com/pelle/oauth/blob/master/lib/oauth/request_proxy/curb_request.rb#L18 contains

```ruby
def method
nil
end
```

And the method method (:)) is used in the signature calculating method. I monkey patched it to

```ruby
OAuth::RequestProxy::Curl::Easy.class_eval do
def method
options[:method].to_s.upcase
end
end
```

I'm not sure what's the proper solution is, but right now without the monkey patch the remote server throws the signature invalid error. I can provide the patch, but it's kinda trivial to make anyway.

Cheers.