]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/oauth.rb
Fix rubocop style issues
[rails.git] / config / initializers / oauth.rb
index 56dd9ff25d572093523367d24b7594f7c34f7951..fa9685d7068ec7f5d65432af0fddf02ce10dd83d 100644 (file)
@@ -2,10 +2,12 @@ require 'oauth/rack/oauth_filter'
 
 Rails.configuration.middleware.use OAuth::Rack::OAuthFilter
 
-module OAuth::RequestProxy
-  class RackRequest
-    def method
-      request.request_method
+module OAuth
+  module RequestProxy
+    class RackRequest
+      def method
+        request.request_method
+      end
     end
   end
 end