Sha256: abade14dda46048a6ee24625244339733220b54e38d8cb6efd5d6ec32909230f
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
module OpenActive module Models module Schema class BusTrip < ::OpenActive::Models::Schema::Trip # @!attribute type # @return [String] def type "schema:BusTrip" end # @return [String] define_property :bus_number, as: "busNumber", types: [ "string", ] # @return [String] define_property :bus_name, as: "busName", types: [ "string", ] # @return [OpenActive::Models::Schema::BusStation,OpenActive::Models::Schema::BusStop,URI] define_property :departure_bus_stop, as: "departureBusStop", types: [ "OpenActive::Models::Schema::BusStation", "OpenActive::Models::Schema::BusStop", "URI", ] # @return [OpenActive::Models::Schema::BusStation,OpenActive::Models::Schema::BusStop,URI] define_property :arrival_bus_stop, as: "arrivalBusStop", types: [ "OpenActive::Models::Schema::BusStation", "OpenActive::Models::Schema::BusStop", "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/bus_trip.rb |
openactive-0.4.0 | lib/openactive/models/schema/bus_trip.rb |