fellowshipone 1.1.3 → 1.1.4

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: bb4895f3fc547361f542f21855fe86d5df9bc5e8
4
- data.tar.gz: c986c5aae08c66dbdf8b5c4229458a13c635b4b6
3
+ metadata.gz: 344d794e92c3b0d557fd7c2d6e29f9d2a400643c
4
+ data.tar.gz: 49d13735eb63bad9fc9e6661b7a0203b02fab64f
5
5
  SHA512:
6
- metadata.gz: f8b4eaaa5e01a1407e16f41d2754f532a8faa36908bd97ca2ea2d27ef17a3beb123e29abaa8ec7e85a86a0e871b97f9e1afd1deb13e270fca39a3a903b066828
7
- data.tar.gz: 45570165a999d423b11711dc639a60cc21f24424db7418a56900d6e5d5a0a16fafb4a182e165f458ab4a2b00d0400298feecfc98c2a25b6520d77b857282ac29
6
+ metadata.gz: 7e088b62585bf734128cba8b2a3b68dfe3161eefc200937ce4c6e37efbd444e3d4beaec3af5703dfb9763ca9a3bc3f3730d6fdc535138e5bf6b8ad08931dcef2
7
+ data.tar.gz: 5dd18ff0d30818c89bfbeb5340a6df51769e6e7338b5886c85c069fc86471112c33f4f5198368330cdc00e5b03bdedb3483ff217afb78bc25944e8672917b860
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'fellowshipone'
5
- s.version = '1.1.3'
5
+ s.version = '1.1.4'
6
6
  s.authors = ['Taylor Brooks']
7
7
  s.email = ['tbrooks@gmail.com']
8
8
  s.homepage = 'https://github.com/taylorbrooks/fellowshipone'
@@ -36,10 +36,11 @@ module Fellowshipone
36
36
  end.body
37
37
  end
38
38
 
39
- def put(path, options = {})
39
+ def put(path, req_body)
40
40
  connection.put do |req|
41
41
  req.url path
42
- end.body
42
+ req.body = req_body
43
+ end
43
44
  end
44
45
 
45
46
  def delete(path, options = {})
@@ -0,0 +1,11 @@
1
+ module Fellowshipone
2
+ class Client
3
+ module PledgeDrive
4
+
5
+ def list_pledge_drives(fund_id)
6
+ get("/giving/v1/funds/#{fund_id}/pledgedrives")
7
+ end
8
+
9
+ end
10
+ end
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fellowshipone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-31 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -171,6 +171,7 @@ files:
171
171
  - lib/fellowshipone/resources/fund.rb
172
172
  - lib/fellowshipone/resources/household.rb
173
173
  - lib/fellowshipone/resources/person.rb
174
+ - lib/fellowshipone/resources/pledge_drive.rb
174
175
  - test/person/person_test.rb
175
176
  - test/test_helper.rb
176
177
  - tester.rb