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

- old
+ new

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