Sha256: 039f8500253c76f4e2ea39ba6389bfb49b933ef60ac81c3848422aa11d786640

Contents?: true

Size: 581 Bytes

Versions: 15

Compression:

Stored size: 581 Bytes

Contents

# frozen_string_literal: true

module PriceHubble
  # The nested PriceHubble property quality object.
  #
  # @see https://docs.pricehubble.com/#types-property
  class PropertyQualities < BaseEntity
    # Mapped and tracked attributes
    tracked_attr :bathrooms, :kitchen, :flooring, :windows, :masonry

    # Define attribute types for casting
    with_options(values: Property::QUALITIES) do
      typed_attr :bathrooms, :enum
      typed_attr :kitchen, :enum
      typed_attr :flooring, :enum
      typed_attr :windows, :enum
      typed_attr :masonry, :enum
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pricehubble-1.3.0 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.2.5 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.2.4 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.2.3 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.2.2 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.2.1 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.2.0 lib/price_hubble/entity/property_qualities.rb
pricehubble-1.1.0 lib/pricehubble/entity/property_qualities.rb
pricehubble-1.0.0 lib/pricehubble/entity/property_qualities.rb
pricehubble-0.4.2 lib/pricehubble/entity/property_qualities.rb
pricehubble-0.4.1 lib/pricehubble/entity/property_qualities.rb
pricehubble-0.4.0 lib/pricehubble/entity/property_qualities.rb
pricehubble-0.3.0 lib/pricehubble/entity/property_qualities.rb
pricehubble-0.2.0 lib/pricehubble/entity/property_qualities.rb
pricehubble-0.1.0 lib/pricehubble/entity/property_qualities.rb