hometown/app/api/mastodon/api.rb
2016-02-20 22:53:20 +01:00

9 lines
126 B
Ruby

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