roqua-core-api 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +4 -0
- data/lib/roqua/core_api/sessions/oauth_session.rb +4 -0
- data/lib/roqua/core_api/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 776f395e58e35a163a8cf359bf7ed7a9adb92640
|
4
|
+
data.tar.gz: 6f67e6d17775b95634091464d00fd2cd51a5f6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d809b97af2274782685951e8b56aab182a3971853f9f0b216cbfea27354b379aca75da8f83d1b60d2fd4a0798c38a846a177e669732f773581899759fa15668
|
7
|
+
data.tar.gz: a5c119317306ee2b85ea073d557a2250dbc08bb2b24379fef8e7f5b62ce7d9e3dd051fe57d17ecbabe5db8b4b432087d55bc73dab2cc7fd0489cea9da25fb36e
|
data/ChangeLog.md
CHANGED
@@ -28,6 +28,10 @@ module Roqua
|
|
28
28
|
HTTParty.put(full_url_for(url), headers: headers, body: params)
|
29
29
|
end
|
30
30
|
|
31
|
+
def logout_url(redirect_to:)
|
32
|
+
"#{server_url}/session/destroy?token=#{access_token}&redirect_to=#{CGI.escape redirect_to}"
|
33
|
+
end
|
34
|
+
|
31
35
|
private
|
32
36
|
|
33
37
|
def full_url_for(url)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roqua-core-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marten Veldthuis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
181
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.2.
|
182
|
+
rubygems_version: 2.2.0
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: API wrapper gem around Core's API
|
@@ -192,4 +192,3 @@ test_files:
|
|
192
192
|
- spec/lib/roqua/core_api/sessions/dossier_group_session_spec.rb
|
193
193
|
- spec/lib/roqua/core_api/sessions/organization_session_spec.rb
|
194
194
|
- spec/spec_helper.rb
|
195
|
-
has_rdoc:
|