lib/indieweb/endpoints/parsers/authorization_endpoint_parser.rb in indieweb-endpoints-2.0.0 vs lib/indieweb/endpoints/parsers/authorization_endpoint_parser.rb in indieweb-endpoints-3.0.0

- old
+ new

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