module Webmention::Verification
Constants
- VERSION
Public Class Methods
verified?(source, target, **options)
click to toggle source
Determine whether or not source URI links to target URI.
@example
source = 'https://source.example.com/post/100' target = 'https://target.example.com/post/100' puts Webmention::Verification.verified?(source, target) #=> TrueClass or FalseClass
@param source [String] @param target [String] @param options [Hash] @option options [Boolean] :strict (true) @return [Boolean]
# File lib/webmention/verification.rb, line 33 def self.verified?(source, target, **options) Client.new(source, target, **options).verified? end