ohmage 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40f97ddaa14bde5ea8c1c4d82ce3ed87a63c7de3
4
- data.tar.gz: e1955c0da795c5ed72cd6a416cf5cf3ff8929886
3
+ metadata.gz: c2debd077bd1f02d2452af41fd5d78e868598306
4
+ data.tar.gz: 2df577843b16a50cd47be769190343b9aa4750c8
5
5
  SHA512:
6
- metadata.gz: e9ac641919aebbaeefce84f6503b8290b1936ea14bf3784770ba8c0f4b087d662ddccc6d92cbe73dbb9aa4d68a08d838371f9ffb0ba954db1291bd638a2b053f
7
- data.tar.gz: ff4ed28502f7be9f9506f14c7d1c60bc5d2ada984004257a287c7f857c5ee2630dd38d984f90c7674fdefd63cdaad538e0542fcbb4ee9b104de96acb4f1b0989
6
+ metadata.gz: ec16f70feb6a7f1c23de1badff0bc996a3d0387db0d6f66296fa64e6c767cb8c4ed89c1748ef8115055755ce4e0c085691b77607d9c2cff67798cf961af59265
7
+ data.tar.gz: 578f44610693d88184ffeefb5206493e7d9a04abe5ee1d52418a6aec2d2a5e0c02fa13c9cbc0ca43fdbc43d3c45288d93e0e9148ee027ea1245d80d9f5d3e788
@@ -19,14 +19,17 @@ module Ohmage
19
19
  server_config_read
20
20
  self
21
21
  end
22
+
22
23
  #
23
24
  # ohmage config/read call
24
25
  # @returns [Hash] of server config details
26
+ #
25
27
  def server_config_read
26
28
  request = Ohmage::Request.new(self, :get, 'config/read', {})
27
29
  resp = request.perform
28
30
  self.server_config = resp[:data]
29
31
  end
32
+
30
33
  #
31
34
  # ohmage user/auth_token call
32
35
  # @see https://github.com/ohmage/server/wiki/User-Authentication#statefulAuthentication
@@ -6,7 +6,7 @@ module Ohmage
6
6
  # @return [Hash]
7
7
  attr_reader :users
8
8
  # @return [Array]
9
- attr_reader :usernames # class/search returns only array of usernames
9
+ attr_reader :usernames, :campaigns # class/search returns only array of usernames
10
10
 
11
11
  def initialize(attrs = {})
12
12
  @urn = attrs.keys[0].to_s
@@ -14,7 +14,7 @@ module Ohmage
14
14
 
15
15
  # @return [Integer]
16
16
  def patch
17
- 21
17
+ 22
18
18
  end
19
19
 
20
20
  # @return [Integer, NilClass]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohmage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Nolen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-16 00:00:00.000000000 Z
11
+ date: 2015-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable