Sha256: 4571a24aab7f66572ff48cd629189977ceb8b835f140fc12adb0bc11f0928d72
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
module OpenActive module Models module Schema class Question < ::OpenActive::Models::Schema::Comment # @!attribute type # @return [String] def type "schema:Question" end # @return [OpenActive::Models::Schema::Answer,OpenActive::Models::Schema::ItemList,URI] define_property :suggested_answer, as: "suggestedAnswer", types: [ "OpenActive::Models::Schema::Answer", "OpenActive::Models::Schema::ItemList", "URI", ] # @return [int,nil] define_property :answer_count, as: "answerCount", types: [ "int", "null", ] # @return [OpenActive::Models::Schema::Answer,OpenActive::Models::Schema::ItemList,URI] define_property :accepted_answer, as: "acceptedAnswer", types: [ "OpenActive::Models::Schema::Answer", "OpenActive::Models::Schema::ItemList", "URI", ] # @return [String] define_property :edu_question_type, as: "eduQuestionType", types: [ "string", ] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.2.2 | lib/openactive/models/schema/question.rb |
openactive-0.2.1 | lib/openactive/models/schema/question.rb |
openactive-0.2.0 | lib/openactive/models/schema/question.rb |