I have one namespace model like this :
class Message::Notification < Message
end
And I define one entity like this:
class Message::Notification < Grape::Entity
expose :id
end
There is a error when present the model:
present @notification, with: Entities::Message::Notification
Error:
app/models/message/notification.rb:1:in `': superclass mismatch for class Notification (TypeError)