Sha256: b1b142a13c494bb417950aa0d88a29a7639b5318dedeafa2d6abe3181178938d

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

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

        # @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_trip.rb
openactive-0.4.0 lib/openactive/models/schema/tourist_trip.rb