plangrade-ruby 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f82b4e01e416c8fa79818e91a2191af7f092b5e3
4
- data.tar.gz: 4f0c93213e7c39ea9be72b66d0f7f556bfc5b269
3
+ metadata.gz: d2f116073ab8b304230435c3559cc0eb8689706b
4
+ data.tar.gz: 6beba3de360cd673e2d9f1da7420cdf310feb494
5
5
  SHA512:
6
- metadata.gz: 21724c467d762bce40f4a89a91a9a854714d00c6259209ea42222a3293423d37a6b37a4b569b6aa6b2aedf9b666323efef1468e33937c9cb0a1ceda39f779107
7
- data.tar.gz: 4847c69c03d4bf96fd3cb9e853d2f6cbff2d4cef0c734805490b53b8bba1111cf0ba7100bb38b43539e3fb17541d8f1835aef86bbdd9b7a4183a2c65895d929e
6
+ metadata.gz: 25b763d8ba6c5f4e05ea3a6868a59fadd3979d399272e12972dc109499252f0ab3461cad706ac01c2cfefd61868b58e829b54617ac138b61748ee8b3a8db4ec4
7
+ data.tar.gz: e8a1d34468590bd86eb36c527ffa30ff10ee2df6037d70b2f4eea682ef2cdfb651b42fe500d6bbedb27dc480e381085751455c21d593a3c6b26424e9bc0938aa
checksums.yaml.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- r@{&��cZ4@��n4���B+�iP3ĮI;+�Q3\1i�] %@������1Ki����-�;Yڦ%X�����iŽ"b��.���J\�w��k�}u�;v�i����Gֵ4y#�fL1�vcg��>����<ۋ�x��lmKk�.O�R[�&��Jê�=7���a��bQ��3�P� '�7aR�y�^g�2I
2
- �>~Lj����
3
- �7�����n
4
- ѹR�f��2
1
+ K)���<�D>�`˶�Ll�\�V#��vE�*&�e6s����Sh�_
2
+ �����*�S��D��^.��a܆��*���LH��GLW5�)/��^*��Ǻ��#��E|!Na��?�������B��� �B������<qF q2i�!�Tr�A�?q�T(�UF�[v(���-b��8�d�]�_�/�j�
@@ -12,13 +12,13 @@ module Plangrade
12
12
  attr_accessor_deffered :name, :ein, :grade
13
13
 
14
14
  def self.get(id)
15
- api_handler.get_company(id)
15
+ result = api_handler.get_company(id)
16
16
  return nil unless result.success?
17
17
  new(result.body[:company])
18
18
  end
19
19
 
20
20
  def self.all(opts={})
21
- api_handler.all_companies(opts)
21
+ result = api_handler.all_companies(opts)
22
22
  return nil unless result.success?
23
23
  new(result.body[:companies])
24
24
  end
@@ -13,7 +13,7 @@ module Plangrade
13
13
  attr_accessor_deffered :company_id, :employee_id, :first_name, :last_name, :street1, :street2, :city, :state, :zip, :dob, :email, :phone
14
14
 
15
15
  def self.get(id)
16
- api_handler.get_participant(id)
16
+ result = api_handler.get_participant(id)
17
17
  return nil unless result.success?
18
18
  new(result.body[:participant])
19
19
  end
@@ -21,13 +21,13 @@ module Plangrade
21
21
  def self.all(company_id, opts={})
22
22
  opts ||= {}
23
23
  opts[:company_id] = company_id
24
- api_handler.all_participants(opts)
24
+ result = api_handler.all_participants(opts)
25
25
  return nil unless result.success?
26
26
  new(result.body[:participants])
27
27
  end
28
28
 
29
29
  def archive!
30
- api_handler.archive_participant(@id)
30
+ result = api_handler.archive_participant(@id)
31
31
  return nil unless result.success?
32
32
  new(result.body)
33
33
  end
@@ -1,5 +1,5 @@
1
1
  module Plangrade
2
2
  module Ruby
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Reynoso
metadata.gz.sig CHANGED
Binary file