1 2 3 4 5 6 7
class UserEntity < API::Entities::UserBasic include RequestAwareEntity expose :path do |user| user_path(user) end end