/usr/lib/ruby/vendor_ruby/diaspora_federation/entities/poll_answer.rb is in ruby-diaspora-federation 0.1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | module DiasporaFederation
module Entities
# This entity represents a poll answer and is federated as a part of the Poll entity.
#
# @see Validators::PollAnswerValidator
class PollAnswer < Entity
# @!attribute [r] guid
# A random string of at least 16 chars
# @see Validation::Rule::Guid
# @return [String] guid
property :guid
# @!attribute [r] answer
# Text of the answer
# @return [String] answer
property :answer
end
end
end
|