Sha256: dad60ab49308b595f5ab187dd16c304f06e5d6e91545bade055ad035c14ef3e1

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

module Webmention
  module Verification
    module Registerable
      def register(klass)
        klass.mime_types.each { |mime_type| registered[mime_type] = klass }
      end

      def registered
        @registered ||= {}
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
webmention-verification-2.0.0 lib/webmention/verification/registerable.rb
webmention-verification-1.2.0 lib/webmention/verification/registerable.rb
webmention-verification-1.1.1 lib/webmention/verification/registerable.rb
webmention-verification-1.1.0 lib/webmention/verification/registerable.rb
webmention-verification-1.0.0 lib/webmention/verification/registerable.rb