Hey, is it possible to access to the API class using a method to prevent to add namespace resolution operator to the beginning of the class?
Actual behavior
module API
module V1
class APIClass < Grape::API
get do
::APIClass.do_something
end
end
end
end
Expected behavior
module API
module V1
class APIClass < Grape::API
get do
grape_class.do_something
end
end
end
end