Sha256: 1b9de523ca817cf10757519189f3d072d39d383be339355567e3f09d40bae055

Contents?: true

Size: 555 Bytes

Versions: 5

Compression:

Stored size: 555 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Answer < ::OpenActive::Models::Schema::Comment
        # @!attribute type
        # @return [String]
        def type
          "schema:Answer"
        end

        # @return [OpenActive::Models::Schema::Comment,OpenActive::Models::Schema::WebContent,URI]
        define_property :answer_explanation, as: "answerExplanation", types: [
          "OpenActive::Models::Schema::Comment",
          "OpenActive::Models::Schema::WebContent",
          "URI",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/answer.rb
openactive-0.4.0 lib/openactive/models/schema/answer.rb
openactive-0.2.2 lib/openactive/models/schema/answer.rb
openactive-0.2.1 lib/openactive/models/schema/answer.rb
openactive-0.2.0 lib/openactive/models/schema/answer.rb