activitypub-academy/app/api/mastodon/api.rb

9 lines
126 B
Ruby
Raw Normal View History

2016-02-21 06:53:20 +09:00
module Mastodon
class API < Grape::API
rescue_from :all
mount Mastodon::Ostatus
mount Mastodon::Rest
end
end