instante-social/app/api/mastodon/api.rb

9 lines
126 B
Ruby

module Mastodon
class API < Grape::API
rescue_from :all
mount Mastodon::Ostatus
mount Mastodon::Rest
end
end