Sha256: 8422a907fecb34fe39b711aac4645404536410b9edb8c77eb4bb339f804bd460

Contents?: true

Size: 733 Bytes

Versions: 4

Compression:

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/hotel_room.rb
openactive-0.1.1 lib/openactive/models/schema/hotel_room.rb
openactive-0.1.0 lib/openactive/models/schema/hotel_room.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/hotel_room.rb