Sha256: f0d6496fb92ec4debc924dd916ad9391236afe31debea2aa4d36085c7d437042

Contents?: true

Size: 704 Bytes

Versions: 4

Compression:

Stored size: 704 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Language,String]
        define_property :available_language, as: "availableLanguage", types: [
          "OpenActive::Models::Schema::Language",
          "string",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/tourist_attraction.rb
openactive-0.1.1 lib/openactive/models/schema/tourist_attraction.rb
openactive-0.1.0 lib/openactive/models/schema/tourist_attraction.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/tourist_attraction.rb