lib/indieweb/endpoints/parsers/authorization_endpoint_parser.rb in indieweb-endpoints-0.1.0 vs lib/indieweb/endpoints/parsers/authorization_endpoint_parser.rb in indieweb-endpoints-0.2.0

- old
+ new

@@ -1,15 +1,13 @@ module IndieWeb module Endpoints module Parsers class AuthorizationEndpointParser < BaseParser - Parsers.register(:authorization_endpoint, self) - - private - - def identifier - @identifier ||= :authorization_endpoint + def self.identifier + :authorization_endpoint end + + Parsers.register(self) end end end end