Sha256: 520eb7463fb1cd3349413f5309c1c4b85f8934a8ef194aa76994433f6b0886ed

Contents?: true

Size: 775 Bytes

Versions: 2

Compression:

Stored size: 775 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::BedType,OpenActive::Models::Schema::BedDetails,String,URI]
        define_property :bed, as: "bed", types: [
          "OpenActive::Models::Schema::BedType",
          "OpenActive::Models::Schema::BedDetails",
          "string",
          "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/hotel_room.rb
openactive-0.4.0 lib/openactive/models/schema/hotel_room.rb