This repository has been archived on 2023-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
|
class Mastodon::Extension
|
|
@@extensions = []
|
|
|
|
def self.register url
|
|
@extensions << Extension.new(url)
|
|
end
|
|
|
|
def self.all
|
|
@extensions
|
|
end
|
|
|
|
def initialize url
|
|
@url = url
|
|
end
|
|
|
|
attr_reader :url
|
|
end
|