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

- old
+ new

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