Sha256: 378baf15719f2245ed12c7a3a5b6ac315ffa1b274543c8553ab8b52cda5da12c

Contents?: true

Size: 775 Bytes

Versions: 4

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::BedDetails,String,OpenActive::Models::Schema::BedType,URI]
        define_property :bed, as: "bed", types: [
          "OpenActive::Models::Schema::BedDetails",
          "string",
          "OpenActive::Models::Schema::BedType",
          "URI",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

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