realogy 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53422fa5ba3f3f9c7712c76816cf834d33bb964e9b2278c256f6b4e5d844c8fa
4
- data.tar.gz: e308a07e12f69138835116b247261c50a568e1f67ee97b55e4ec9e62d405669e
3
+ metadata.gz: af63f9af9785877206404c74331901e62ba583a338bbb5c34a9c031efe42bd9a
4
+ data.tar.gz: be375fd5470bb578aa20edadd5a005824327149961290aae2e9500fe4136ffaa
5
5
  SHA512:
6
- metadata.gz: 7e95bb65b54c6396267624cd0acf7df5805d14e5f49e0c4f444e0c5744631bff1408144e9b099fc606383ddbf161b1e416e6cd10b808d01b94f1b663d48ec1f3
7
- data.tar.gz: 8acb3fcea1b000758d473435c0f0bba7c161ab76006396c2b93a17d4dce9bea04efa8a8e89f547b1740f11195da45d9f4ab07b0074b6f7509a491e26bc5f34b2
6
+ metadata.gz: '084bef9288cd494ed2fcd171bf5545b6d0f34afe4482a7ff3a5f56dfd177f44c1a1d9c4efc101a5e9a9dd6ea9b4607f18ea17081fa91582565847042a256a3b3'
7
+ data.tar.gz: 71580695d565c2434b727929cf34c81290a2f26bef4d00d1d8782cf0854d84806d136d6b869cc03773d608cc69e6fd8a7e3ed00c5a5704e9ea554ec4124faa8f
@@ -652,6 +652,10 @@ class Realogy::Listing < Realogy::Entity
652
652
  self.dig_for_string("listingSummary", "listPrice", "currencyCode")
653
653
  end
654
654
 
655
+ def list_price_in_usd
656
+ self.dig_for_integer("listingSummary", "listPrice", "listPriceinUSD")
657
+ end
658
+
655
659
  def price_upon_request?
656
660
  self.dig_for_boolean("listingSummary", "listPrice", "isPriceUponRequest")
657
661
  end
@@ -1,3 +1,3 @@
1
1
  module Realogy
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-31 00:00:00.000000000 Z
11
+ date: 2019-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler