diaspora_federation/lib/diaspora_federation/entities/poll_answer.rb
2015-12-07 04:10:17 +01:00

19 lines
516 B
Ruby

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