Sha256: 8c74a5bb65f3ca7c556f5bf6874f7b67f0d6134a37558382d79191705f95cba8

Contents?: true

Size: 741 Bytes

Versions: 2

Compression:

Stored size: 741 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::TouristAttraction,URI]
        define_property :includes_attraction, as: "includesAttraction", types: [
          "OpenActive::Models::Schema::TouristAttraction",
          "URI",
        ]

        # @return [String,OpenActive::Models::Schema::Audience,URI]
        define_property :tourist_type, as: "touristType", types: [
          "string",
          "OpenActive::Models::Schema::Audience",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/tourist_destination.rb
openactive-0.4.0 lib/openactive/models/schema/tourist_destination.rb