Sha256: 65c88d440adf60706120d60e421ecc12b026d5034bbfae7ee523cc07e05454a2

Contents?: true

Size: 898 Bytes

Versions: 2

Compression:

Stored size: 898 Bytes

Contents

require 'ostruct'

require 'absolutely'
require 'addressable/uri'
require 'http'
require 'link-header-parser'
require 'nokogiri'

require 'indieweb/endpoints/version'
require 'indieweb/endpoints/exceptions'

require 'indieweb/endpoints/client'
require 'indieweb/endpoints/http_request'
require 'indieweb/endpoints/registerable'

require 'indieweb/endpoints/parsers'
require 'indieweb/endpoints/parsers/authorization_endpoint_parser'
require 'indieweb/endpoints/parsers/micropub_parser'
require 'indieweb/endpoints/parsers/microsub_parser'
require 'indieweb/endpoints/parsers/redirect_uri_parser'
require 'indieweb/endpoints/parsers/token_endpoint_parser'
require 'indieweb/endpoints/parsers/webmention_parser'

module IndieWeb
  module Endpoints
    class << self
      def client(url)
        Client.new(url)
      end

      def get(url)
        client(url).endpoints
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
indieweb-endpoints-0.7.0 lib/indieweb/endpoints.rb
indieweb-endpoints-0.6.0 lib/indieweb/endpoints.rb