fellowshipone 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fellowshipone.gemspec +1 -1
- data/lib/fellowshipone/resources/contribution.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c944bea2aea218192291f474652cc6bb3ba2b10
|
4
|
+
data.tar.gz: 9cb414eaaf304295295d6f063cc5abd11a634e07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14d7b67a44aaef680aefcfc5e1b21de6989675fea965b2c0793e45e8d453f3ece00be740d73954bae203734798f6e2b48902d1da68a17d90059efb3e901a4ded
|
7
|
+
data.tar.gz: 81aab7aa3f2a72b1761269a9c4d9e082a14d8236d089fb78293d4653d1a19090a91ac0d76b961974a2b970db9ce9e78bfcee1912789dd838b2caf6f06f20765d
|
data/fellowshipone.gemspec
CHANGED
@@ -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.
|
5
|
+
s.version = '1.1.1'
|
6
6
|
s.authors = ['Taylor Brooks']
|
7
7
|
s.email = ['tbrooks@gmail.com']
|
8
8
|
s.homepage = 'https://github.com/taylorbrooks/fellowshipone'
|
@@ -6,8 +6,8 @@ module Fellowshipone
|
|
6
6
|
|
7
7
|
end
|
8
8
|
|
9
|
-
def get_contribution(
|
10
|
-
get("/giving/v1/contributionreceipts/#{
|
9
|
+
def get_contribution(contribution_id)
|
10
|
+
get("/giving/v1/contributionreceipts/#{contribution_id}.json")
|
11
11
|
end
|
12
12
|
|
13
13
|
def new_contribution
|
@@ -18,8 +18,8 @@ module Fellowshipone
|
|
18
18
|
post("/giving/v1/contributionreceipts.json", contribution_params)
|
19
19
|
end
|
20
20
|
|
21
|
-
def update_contribution(contribution_params)
|
22
|
-
put("giving/v1/contributionreceipts/#{
|
21
|
+
def update_contribution(contribution_id, contribution_params)
|
22
|
+
put("giving/v1/contributionreceipts/#{contribution_id}.json", contribution_params)
|
23
23
|
end
|
24
24
|
|
25
25
|
end
|