Sha256: 2c79d5f008ade030bbccd279e2feb1f7094af33f8b8d95e009e1e9ae521a577a
Contents?: true
Size: 782 Bytes
Versions: 1
Compression:
Stored size: 782 Bytes
Contents
module SurveyGizmo; module API # @see SurveyGizmo::Resource::ClassMethods class Option include SurveyGizmo::Resource include SurveyGizmo::MultilingualTitle attribute :id, Integer attribute :survey_id, Integer attribute :page_id, Integer attribute :question_id, Integer attribute :value, String attribute :properties, Hash route '/survey/:survey_id/surveypage/:page_id/surveyquestion/:question_id/surveyoption', via: :create route '/survey/:survey_id/surveypage/:page_id/surveyquestion/:question_id/surveyoption/:id', via: [:get, :update, :delete] def to_param_options { id: self.id, survey_id: self.survey_id, page_id: self.page_id, question_id: self.question_id } end end end; end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
survey-gizmo-ruby-4.1.0 | lib/survey_gizmo/api/option.rb |