Sha256: 98c219cf9b18fcb678300f2979b0fdc1a3e8544881835a462290170cb42052ac

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 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,nil]
        define_property :number_of_rooms, as: "numberOfRooms", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "Number",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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