Sha256: 43a0ab11c316cd75c2beb461e5b0be25a9c09c88afe180cd5394bacad4450c86
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
module SurveyGizmo; module API # @see SurveyGizmo::Resource::ClassMethods class Survey include SurveyGizmo::Resource # @macro [attach] virtus_attribute # @return [$2] attribute :id, Integer attribute :team, Integer attribute :_type, String attribute :_subtype, String attribute :status, String attribute :forward_only, Boolean attribute :title, String attribute :internal_title, String attribute :title_ml, Hash attribute :links, Hash attribute :theme, Integer attribute :blockby, String attribute :languages, Array attribute :statistics, Array attribute :created_on, DateTime attribute :modified_on, DateTime route '/survey/:id', :via => [:get, :update, :delete] route '/survey', :via => :create # @macro collection collection :pages # @see SurveyGizmo::Resource#to_param_options def to_param_options {:id => self.id} end end end; end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
survey-gizmo-ruby-0.9.6 | lib/survey_gizmo/api/survey.rb |