easy_broker 0.1.4 → 0.1.5
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 +4 -4
- data/.gitignore +2 -1
- data/CHANGELOG.md +3 -0
- data/README.md +1 -0
- data/lib/easy_broker/integration_partners/listing_statuses.rb +20 -0
- data/lib/easy_broker/integration_partners/public_client.rb +17 -0
- data/lib/easy_broker/public_client.rb +4 -0
- data/lib/easy_broker/version.rb +1 -1
- data/lib/easy_broker.rb +2 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c3fc54d9f30598f2a8499cb0be351a5daa7cd03a1bd91f022cb2da545f0b3a1
|
4
|
+
data.tar.gz: b0407234c841d6b3bf29151e83501f1a7006fb381e0b644acbdb8ef7cf416662
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 409d82992dd0aa86164ca350fde1c5cd4a7fcadfc7961b2f14d7b2f4bfeb8eeaad4cd477a926e857dd480603a2fa7dd61a8821cff9d5da7e23c3c0cb4dbda511
|
7
|
+
data.tar.gz: c4be1cfa701a33490147c4ce2b45d976eda66aececa774ba30c1dc612bdc259cad335e7d8a72d175bf9f8194ce2c5f3167f224b9e47c028033a68896295bdfc0
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -79,6 +79,7 @@ client.contact_requests # List and search contact requests in your account - TDB
|
|
79
79
|
client.properties # List, search and find properties in your account
|
80
80
|
client.mls_properties # List, search and find properties in the MLS - requires MLS API Plan
|
81
81
|
client.listing_statuses # List and search the listing status for properties. Great for syncing large sets of properties. - includes MLS properties if you have the MLS Plan
|
82
|
+
client.integration_partners.listing_statuses # List and search the listing status for partner properties. Requires an integration partner api key.
|
82
83
|
```
|
83
84
|
|
84
85
|
## Development
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module EasyBroker
|
4
|
+
module IntegrationPartners
|
5
|
+
class ListingStatuses
|
6
|
+
ENDPOINT = '/integration_partners/listing_statuses'
|
7
|
+
|
8
|
+
attr_reader :api_client
|
9
|
+
|
10
|
+
def initialize(api_client)
|
11
|
+
@api_client = api_client
|
12
|
+
end
|
13
|
+
|
14
|
+
def search(query = {})
|
15
|
+
stored_query = EasyBroker::Query.new(api_client, ENDPOINT, query)
|
16
|
+
EasyBroker::PaginatedResponse.new(stored_query)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module EasyBroker
|
4
|
+
module IntegrationPartners
|
5
|
+
class PublicClient
|
6
|
+
attr_reader :api_client
|
7
|
+
|
8
|
+
def initialize(api_client)
|
9
|
+
@api_client = api_client
|
10
|
+
end
|
11
|
+
|
12
|
+
def listing_statuses
|
13
|
+
EasyBroker::IntegrationPartners::ListingStatuses.new(api_client)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/easy_broker/version.rb
CHANGED
data/lib/easy_broker.rb
CHANGED
@@ -13,6 +13,8 @@ require 'easy_broker/mls_properties'
|
|
13
13
|
require 'easy_broker/contact_requests'
|
14
14
|
require 'easy_broker/locations'
|
15
15
|
require 'easy_broker/listing_statuses'
|
16
|
+
require 'easy_broker/integration_partners/public_client'
|
17
|
+
require 'easy_broker/integration_partners/listing_statuses'
|
16
18
|
|
17
19
|
module EasyBroker
|
18
20
|
def self.configuration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_broker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Northam
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -130,6 +130,8 @@ files:
|
|
130
130
|
- lib/easy_broker/constants.rb
|
131
131
|
- lib/easy_broker/contact_requests.rb
|
132
132
|
- lib/easy_broker/errors.rb
|
133
|
+
- lib/easy_broker/integration_partners/listing_statuses.rb
|
134
|
+
- lib/easy_broker/integration_partners/public_client.rb
|
133
135
|
- lib/easy_broker/listing_statuses.rb
|
134
136
|
- lib/easy_broker/locations.rb
|
135
137
|
- lib/easy_broker/mls_properties.rb
|
@@ -158,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
160
|
- !ruby/object:Gem::Version
|
159
161
|
version: '0'
|
160
162
|
requirements: []
|
161
|
-
rubygems_version: 3.1
|
163
|
+
rubygems_version: 3.0.3.1
|
162
164
|
signing_key:
|
163
165
|
specification_version: 4
|
164
166
|
summary: A gem to work with EasyBroker's API
|