lib/webmention/endpoint.rb in webmention-endpoint-0.3.1 vs lib/webmention/endpoint.rb in webmention-endpoint-1.0.0
- old
+ new
@@ -3,14 +3,16 @@
require 'http'
require 'nokogiri'
require 'webmention/endpoint/version'
require 'webmention/endpoint/error'
+require 'webmention/endpoint/client'
require 'webmention/endpoint/discover'
+require 'webmention/endpoint/response'
module Webmention
module Endpoint
def self.discover(url)
- Discover.new(url).endpoint
+ Client.new(url).endpoint
end
end
end