reso_api 0.5.3 → 0.5.4
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/lib/reso_api/app/models/reso/api/client.rb +2 -2
- data/lib/reso_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73aa7cfde3a1c862ae24af151a7e179e56f7765d5f71a54fee103a4ef2963750
|
|
4
|
+
data.tar.gz: 9949c7a9f28e1c2e54a3ae3ad4aed9657ddab43650a28fccf162d5426aa83b71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e92d18c780a60e380993082eb42a8cc81b7612800fa0cc87979a32bb5a4f203256c9452cdedef53c88f9e6da6245796e4c6e82b8b967fec570303f3776dc3e6e
|
|
7
|
+
data.tar.gz: 4858d6e61f634d7e03dfcf49ed49080645a3084f5c884e37ea1a1935641a193c6c815713fe2fbdefd33fea15ab01514318ca1adefc5b41a9ace65f067f5b4dd1
|
|
@@ -130,7 +130,7 @@ module RESO
|
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
def fresh_oauth2_payload
|
|
133
|
-
@oauth2_payload = oauth2_client.client_credentials.get_token
|
|
133
|
+
@oauth2_payload = oauth2_client.client_credentials.get_token('client_id' => client_id, 'client_secret' => client_secret)
|
|
134
134
|
File.write(oauth2_token_path, @oauth2_payload.to_hash.to_json)
|
|
135
135
|
return @oauth2_payload
|
|
136
136
|
end
|
|
@@ -148,7 +148,7 @@ module RESO
|
|
|
148
148
|
persisted = File.read(oauth2_token_path)
|
|
149
149
|
payload = OAuth2::AccessToken.from_hash(oauth2_client, JSON.parse(persisted))
|
|
150
150
|
else
|
|
151
|
-
payload = oauth2_client.client_credentials.get_token
|
|
151
|
+
payload = oauth2_client.client_credentials.get_token('client_id' => client_id, 'client_secret' => client_secret)
|
|
152
152
|
File.write(oauth2_token_path, payload.to_hash.to_json)
|
|
153
153
|
end
|
|
154
154
|
return payload
|
data/lib/reso_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reso_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Edlund
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|