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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 823118714ed44875a71f5f96ca76ce0b3a5a23a83278db2c3c54a0e068cf5072
4
- data.tar.gz: c2f92407145ef112cee5396057b08ed177e1c2b8c643474a486b52ac82829667
3
+ metadata.gz: 73aa7cfde3a1c862ae24af151a7e179e56f7765d5f71a54fee103a4ef2963750
4
+ data.tar.gz: 9949c7a9f28e1c2e54a3ae3ad4aed9657ddab43650a28fccf162d5426aa83b71
5
5
  SHA512:
6
- metadata.gz: 63f3f312dea1dcedc32c4b11036fc8742164d60ee281c654f208237d49f95064ecf2e0985c2d84244c6c6887ee1b9eeb5da59825ce8d0b4637e992e9810b036f
7
- data.tar.gz: 3680b1933c16c7706af75a3e5c71d8edd43c95e6b6323a0d61154b00948dff474c844fffb3f2007d9353b5b14de516172b44679e057f345a7f931c7206aa04b5
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
@@ -1,3 +1,3 @@
1
1
  module ResoApi
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
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.3
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-19 00:00:00.000000000 Z
11
+ date: 2022-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler