Sha256: 5e891019e84d187df132808da45c16bdfe843e4d74bc7b90a71fc26493b9c07b

Contents?: true

Size: 715 Bytes

Versions: 3

Compression:

Stored size: 715 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::BoatTerminal,URI]
        define_property :departure_boat_terminal, as: "departureBoatTerminal", types: [
          "OpenActive::Models::Schema::BoatTerminal",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::BoatTerminal,URI]
        define_property :arrival_boat_terminal, as: "arrivalBoatTerminal", types: [
          "OpenActive::Models::Schema::BoatTerminal",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/boat_trip.rb
openactive-0.2.1 lib/openactive/models/schema/boat_trip.rb
openactive-0.2.0 lib/openactive/models/schema/boat_trip.rb