Sha256: 0b5eb66cae4aac1337a61e15766a482b6f578d7874458dacbf9b0dddc2a80760

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

Version data entries

3 entries across 3 versions & 1 rubygems

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