Module: Webmention::Verification

Defined in:
lib/webmention/verification.rb,
lib/webmention/verification/client.rb,
lib/webmention/verification/version.rb,
lib/webmention/verification/verifiers.rb,
lib/webmention/verification/exceptions.rb,
lib/webmention/verification/registerable.rb,
lib/webmention/verification/verifiers/html_verifier.rb,
lib/webmention/verification/verifiers/json_verifier.rb,
lib/webmention/verification/verifiers/plaintext_verifier.rb

Defined Under Namespace

Modules: Registerable, Verifiers Classes: ArgumentError, Client, ConnectionError, Error, InvalidURIError, TimeoutError, TooManyRedirectsError, UnsupportedMimeTypeError

Constant Summary collapse

VERSION =
'1.0.0'.freeze

Class Method Summary collapse

Class Method Details

.verified?(source, target) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/webmention/verification.rb', line 19

def self.verified?(source, target)
  Client.new(source, target).verified?
end