mirror of
https://github.com/danbee/micropub.git
synced 2025-03-04 08:59:13 +00:00
16 lines
247 B
Ruby
16 lines
247 B
Ruby
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
|