plangrade-ruby 0.0.7 → 0.0.8

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: 5e0db7df40f0341dbca3764478778f57759ff916
4
- data.tar.gz: 984d997402e7ddf825a20f21da012c3384e27030
3
+ metadata.gz: e652a8d54a1a88711cd41b3255911dd5b039b8c8
4
+ data.tar.gz: 89b34004cc1442b93a91374cbc0aaffc775ce5d5
5
5
  SHA512:
6
- metadata.gz: 2fc4cef67c4c44fe9ef61b547d96a17634220d525295dbe142e60b48f8bc1e28f721f15b4e8adb38bd1b9ec32274f194d2fc678f9992512af64af656e1cccf23
7
- data.tar.gz: 50df423f39cc40085e6d8dce2b103c2c41e71f615fda31f0c42d8cc4aec02fb4bffe5863fc8ce91694ab7ba7353f955d1bb98ed9d585a73c2e1026ae858c5841
6
+ metadata.gz: 799bb552f367172e05b91b557c2d54a2229462674183f0a6593812d9a7622677f74f731a9c0badafc675998c1fd5519d9a43da6d439bb44d5d8946d37e96e241
7
+ data.tar.gz: fff37b6143cba4670901e14d1be4e58ce67561af1df97ee8cab3a902605d8156369f335ee28156b38b6f8cc60c2d58f115f1f5ce5e0acb8165e5de12bb4750ca
checksums.yaml.gz.sig CHANGED
Binary file
@@ -14,11 +14,11 @@ module Plangrade
14
14
  end
15
15
 
16
16
  def get_company(id)
17
- get("/api/v1/companies/#{id}").body
17
+ get("/api/v1/companies/#{id}").body[:company]
18
18
  end
19
19
 
20
20
  def all_companies(opts={})
21
- get("/api/v1/companies", opts).body
21
+ get("/api/v1/companies", opts).body[:companies]
22
22
  end
23
23
  end
24
24
  end
@@ -14,11 +14,11 @@ module Plangrade
14
14
  end
15
15
 
16
16
  def get_participant(id)
17
- get("/api/v1/participants/#{id}").body
17
+ get("/api/v1/participants/#{id}").body[:participant]
18
18
  end
19
19
 
20
20
  def all_participants(opts={})
21
- get("/api/v1/participants", opts).body
21
+ get("/api/v1/participants", opts).body[:participants]
22
22
  end
23
23
  end
24
24
  end
@@ -1,5 +1,5 @@
1
1
  module Plangrade
2
2
  module Ruby
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plangrade-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Reynoso
metadata.gz.sig CHANGED
Binary file