survey/app/models/survey_question_option.rb

9 lines
205 B
Ruby
Raw Normal View History

2014-10-06 05:55:25 +00:00
class SurveyQuestionOption
include Mongoid::Document
field :name, :localize => true
field :jump_to, :default => 0
field :points, :type => Integer, :default => 0
2014-10-06 05:55:25 +00:00
embedded_in :survey_question
end