Class: Webmention::Verification::Verifiers::HtmlVerifier

Inherits:
BaseVerifier
  • Object
show all
Defined in:
lib/webmention/verification/verifiers/html_verifier.rb

Constant Summary collapse

HTML_ATTRIBUTE_MAP =
{
  cite:   %w[blockquote del ins q],
  data:   %w[object],
  href:   %w[a area],
  poster: %w[video],
  src:    %w[audio embed img source track video],
  srcset: %w[img source]
}.freeze

Class Method Summary collapse

Methods inherited from BaseVerifier

#initialize, #results, #verified?

Constructor Details

This class inherits a constructor from Webmention::Verification::Verifiers::BaseVerifier

Class Method Details

.mime_typesObject



5
6
7
# File 'lib/webmention/verification/verifiers/html_verifier.rb', line 5

def self.mime_types
  ['text/html']
end