restiny 7.0.1 → 7.0.2
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/restiny/api/authentication.rb +2 -2
- data/lib/restiny/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: bf6c85b3ac3e630d8d45b4b194f05e3cbd5f35dd0aae7e8d0e72af7823c32298
|
4
|
+
data.tar.gz: 23d9aec062713b216aeb0ea5ee1f8db8a5320ff79744e532775f7577c8ed7afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c2481d2a5a29939010b9e678e646ec440a6de131770b358ff3894b1fad98171ad94f9b65d36757f76d5e0d15c1463d14a83aefffe732c57f208e96dd4d3ec3a
|
7
|
+
data.tar.gz: 1d08d666d024851b057ad43e37e4e9d552d567cb2432cc75d78c78a5d15e546911ab83b33afa7b375dfcf0632387f1b939ecb80e7e9ab30da3589770b794085a
|
@@ -31,10 +31,10 @@ module Restiny
|
|
31
31
|
def request_access_token(code, redirect_url: nil)
|
32
32
|
check_oauth_client_id
|
33
33
|
|
34
|
-
params = { code
|
34
|
+
params = { code:, grant_type: AUTH_CODE_GRANT_TYPE, client_id: @oauth_client_id }
|
35
35
|
params['redirect_url'] = redirect_url unless redirect_url.nil?
|
36
36
|
|
37
|
-
response = http_client.post('
|
37
|
+
response = http_client.post('app/oauth/token/', form: params)
|
38
38
|
response.raise_for_status
|
39
39
|
|
40
40
|
response.json
|
data/lib/restiny/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restiny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Bogan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpx
|