roqua-core-api 0.0.21 → 0.0.22
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/ChangeLog.md +4 -0
- data/lib/roqua/core_api/sessions/oauth_session.rb +6 -0
- data/lib/roqua/core_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 886d19730a7dc3adf08db5b24c72cd906439cf80
|
|
4
|
+
data.tar.gz: f73b30a6dced6f8b5b5ee58f17d069473650d2cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a90bdc83af403820656727027dca4a91e86172954ec72ae7f913cde73a5d8b1d43865191ac19e4ca7f447e81acf40835ce42845d669840b7b438bec82020a27
|
|
7
|
+
data.tar.gz: 3e91364fe769f8b7d75012db3bdc50cbaed7fbfaa375f2cea395875afea47697838866cc39b6680cb1f4b55d6cd48bc8f228248e2bdbd514d50f0eae48f3f5bf
|
data/ChangeLog.md
CHANGED
|
@@ -13,6 +13,12 @@ module Roqua
|
|
|
13
13
|
"#{core_site}/session/destroy?token=#{access_token}&return_to=#{CGI.escape return_to}"
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
# ping the server to check if session is still valid.
|
|
17
|
+
# Will throw NoSession as usual if not.
|
|
18
|
+
def ping
|
|
19
|
+
get "/ping"
|
|
20
|
+
end
|
|
21
|
+
|
|
16
22
|
private
|
|
17
23
|
|
|
18
24
|
def headers
|