Sha256: e9500e7335cbd2d4a704c590a21f1f6f6ed346a7fc00d0159f9822f6c88d1b8e

Contents?: true

Size: 597 Bytes

Versions: 4

Compression:

Stored size: 597 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :roof_load, as: "roofLoad", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

        # @return [String]
        define_property :acriss_code, as: "acrissCode", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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