lib/oauthenticator/signed_request.rb in oauthenticator-1.3.5 vs lib/oauthenticator/signed_request.rb in oauthenticator-1.4.0

- old
+ new

@@ -232,15 +232,15 @@ end require 'oauthenticator/config_methods' include ConfigMethods - private - # hash of header params. keys should be a subset of OAUTH_ATTRIBUTE_KEYS. def oauth_header_params @oauth_header_params ||= OAuthenticator.parse_authorization(authorization) end + + private # raise a nice error message for a method that needs to be implemented on a module of config methods def config_method_not_implemented caller_name = caller[0].match(%r(in `(.*?)'))[1] using_middleware = caller.any? { |l| l =~ %r(oauthenticator/rack_authenticator.rb:.*`call') }