mirror of
https://github.com/danbee/micropub.git
synced 2025-03-04 08:59:13 +00:00
18 lines
277 B
Ruby
18 lines
277 B
Ruby
require "indieweb/endpoints"
|
|
|
|
module Indieauth
|
|
class Endpoints
|
|
def initialize(site_url)
|
|
@endpoints = IndieWeb::Endpoints.get(site_url)
|
|
end
|
|
|
|
def method_missing(method)
|
|
endpoints.send(method)
|
|
end
|
|
|
|
private
|
|
|
|
attr_accessor :endpoints
|
|
end
|
|
end
|