Module: Micropub::Endpoint

Defined in:
lib/micropub/endpoint.rb,
lib/micropub/endpoint/error.rb,
lib/micropub/endpoint/client.rb,
lib/micropub/endpoint/version.rb,
lib/micropub/endpoint/discover.rb,
lib/micropub/endpoint/response.rb

Defined Under Namespace

Classes: ArgumentError, Client, ConnectionError, Discover, Error, InvalidURIError, Response, TimeoutError, TooManyRedirectsError

Constant Summary collapse

VERSION =
'1.0.4'.freeze

Class Method Summary collapse

Class Method Details

.discover(url) ⇒ Object



14
15
16
# File 'lib/micropub/endpoint.rb', line 14

def self.discover(url)
  Client.new(url).endpoint
end