1 2 3 4 5 6 7 8
module Mastodon class API < Grape::API rescue_from :all mount Mastodon::Ostatus mount Mastodon::Rest end end