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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mzk1NzkzODEyZjU0MzA5OWM3MWRiNzc5Y2NmOTA1Mzk1YjUwMzVhYQ==
4
+ MjQwZTRmZGVkYzJiZTk3ODUxYjU5NGU4YTRhZDQ0YmFiZTAwMTA1Zg==
5
5
  data.tar.gz: !binary |-
6
- ZWYyYWMxNDAzMWVmYzZiZmE4MTMxOWJmYzcwZWY4MGIyYWFmMjlhYw==
6
+ MGU2OGU2Mjk4NjkzNTY3NjE2YjVlMGE5YTkxMmQwODViZTcxMDcyOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzNmY2IxYjIwMmVhZDgxMGU3ZDZiY2E5NWI0MTU2MzA4NTEwZDIxNDMyM2Yw
10
- NDU4NjJmZGU3ZjAwNjk5MmQxZWU5OTFmMDhhNTRiYjA0NmEwYjE3NmNkNDUw
11
- OWEzMjgyMGQ4MjJlZjM5NjE3NDFhMTRmODNiZTAyNjdmMDEwMGU=
9
+ YjdmY2FmMzk4YWJkMGM5YjI0OTM5YTA0NjI2OGFlMjM0NjZmODdmYjkyYTBi
10
+ Yjg5OWIzNjBmZTU1ODAxMjI3NGY4MTQ4ODNmMjE3ZGFlYWNmMWJlNzZiNjQ4
11
+ ZGJhMGY4NTY3NzE2ZWM0NjFiZGNiOTc3ZTI5YWU0NWY1OWFmMTI=
12
12
  data.tar.gz: !binary |-
13
- ZDM0NmUzODc4NDU5NDJlM2RiMzNjZTMyOTYxYTliMjU2ZDIzNWI2ZWFmNGU0
14
- NzNlM2Q0OGQxOWM0NWEzZGNkYTg4OTcxMjc3ZWVlZmFmM2VmYTNiODE4YmVj
15
- YjJhMDM2ZDU4ZTMzMmM4ZDMwMGM1MWUyMjY5ZTRjNzNiZTM0N2U=
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
- # TODO: Add parameters documentation
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
- # TODO: Add parameters documentation
16
- def update_twitter_credentials
17
- put '/user/twittercredentials'
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
- # TODO: Add parameters documentation
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.577
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-14 00:00:00.000000000 Z
11
+ date: 2015-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec