Sha256: d3c48297ecad65f6719a0c22e78d5012e7cc56457b64c89c46213f13761e4f05

Contents?: true

Size: 534 Bytes

Versions: 3

Compression:

Stored size: 534 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil]
        define_property :number_of_rooms, as: "numberOfRooms", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "Number",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/house.rb
openactive-0.4.0 lib/openactive/models/schema/house.rb
openactive-0.3.0 lib/openactive/models/schema/house.rb