Sha256: b3e1d8584e4f7cc90c2380d73a8c609d9bbc4e6de105ee77f080d682a2d8c714

Contents?: true

Size: 254 Bytes

Versions: 8

Compression:

Stored size: 254 Bytes

Contents

#
# small monkey patch for the oauth-ruby gem, 
# for compatibility with typhoeus > 0.5.0
#
module OAuth::RequestProxy::Typhoeus
  class Request < OAuth::RequestProxy::Base

    def method
      request.options[:method].to_s.upcase
    end
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fellowshipone-api-0.9.0 lib/oauth_monkey_patch.rb
fellowshipone-api-0.8.0 lib/oauth_monkey_patch.rb
fellowshipone-api-0.7.0 lib/oauth_monkey_patch.rb
fellowshipone-api-0.6.4 lib/oauth_monkey_patch.rb
fellowshipone-api-0.6.3 lib/oauth_monkey_patch.rb
fellowshipone-api-0.6.2 lib/oauth_monkey_patch.rb
fellowshipone-api-0.6.1 lib/oauth_monkey_patch.rb
fellowshipone-api-0.6.0 lib/oauth_monkey_patch.rb