bwapi 11.0.1.pre.577 → 11.0.1.pre.581
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/bwapi/client/user/twitter_credentials.rb +9 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjQwZTRmZGVkYzJiZTk3ODUxYjU5NGU4YTRhZDQ0YmFiZTAwMTA1Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGU2OGU2Mjk4NjkzNTY3NjE2YjVlMGE5YTkxMmQwODViZTcxMDcyOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjdmY2FmMzk4YWJkMGM5YjI0OTM5YTA0NjI2OGFlMjM0NjZmODdmYjkyYTBi
|
10
|
+
Yjg5OWIzNjBmZTU1ODAxMjI3NGY4MTQ4ODNmMjE3ZGFlYWNmMWJlNzZiNjQ4
|
11
|
+
ZGJhMGY4NTY3NzE2ZWM0NjFiZGNiOTc3ZTI5YWU0NWY1OWFmMTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjJlZGMxNDI4ZTdhMWY5NzhhNGRkODQwMDBjMmEwMWIyZWY4MGI1Y2Q2OThm
|
14
|
+
OTAwZjI0NGQ3NWY1Mzc0ZjZmNzAxYzI3NTkwNTQxYmEyYWUyNTZiYTA2Y2Jm
|
15
|
+
ZjliNzdmM2NlOGRhMWZiOWQ0ZjI5MDM3MjJmZjAyMDk1MDQ2MGU=
|
@@ -5,21 +5,25 @@ module BWAPI
|
|
5
5
|
module TwitterCredentials
|
6
6
|
# Retrieve the current user's Twitter credentials
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# @return [Hash] Current users Twitter credentials
|
9
9
|
def twitter_credentials
|
10
10
|
get '/user/twittercredentials'
|
11
11
|
end
|
12
12
|
|
13
13
|
# Update the current user's Twitter credentials
|
14
14
|
#
|
15
|
-
#
|
16
|
-
|
17
|
-
|
15
|
+
# @param opts [Hash] options Hash of parameters
|
16
|
+
# @option opts [string] 'consumerKey' Twitter Consumer Key,
|
17
|
+
# @option opts [string] 'accessToken' Twitter Access Token,
|
18
|
+
# @option opts [string] 'accessTokenSecret' Twitter TokenSecret
|
19
|
+
# @return [Hash] Current user Twitter User credentials
|
20
|
+
def update_twitter_credentials(opts = {})
|
21
|
+
put '/user/twittercredentials', opts
|
18
22
|
end
|
19
23
|
|
20
24
|
# Delete the current user's Twitter credentials
|
21
25
|
#
|
22
|
-
#
|
26
|
+
# @return [Hash] Current users deleted Twitter credentials
|
23
27
|
def delete_twitter_credentials
|
24
28
|
delete '/user/twittercredentials'
|
25
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bwapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.0.1.pre.
|
4
|
+
version: 11.0.1.pre.581
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|