Sha256: d9098c7b104afc93935efd23c858ee4e9acd1a6f264990993d33e52a47db109a

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 :arrival_boat_terminal, as: "arrivalBoatTerminal", types: [
          "OpenActive::Models::Schema::BoatTerminal",
          "URI",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

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