user_entity.rb 129 Bytes EditWeb IDE 1 2 3 4 5 6 7 class UserEntity < API::Entities::UserBasic include RequestAwareEntity expose :path do |user| user_path(user) end end