bamboozled_panda 0.1.0 → 0.1.1
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 +4 -4
- data/lib/bamboozled_panda.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d993377be0481cb04a1551c76517f36695e4a458
|
|
4
|
+
data.tar.gz: a7456f3f04994e7f361ade63d3f4e747ae1805fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00b1e61c61a97af42f4385f6b1092c8b7496351b000700fa1d7a726c162478e85b7c5cf47c251fdb97bd88fe580354a6c3b7e62714a596f060f890db97cca898
|
|
7
|
+
data.tar.gz: 0d26832cb430748ab00361b5ea45a4af8865abd52cb5ea4cdeac7dab32a13f3d6d9513fbd06376f2fe042b5580a45e65763fa3e9216c75cf1810825e3da00ab1
|
data/lib/bamboozled_panda.rb
CHANGED
|
@@ -12,7 +12,7 @@ module BamboozledPanda
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
# this is used to create a "pool" of money from which we will take when using `transfer_to_grant`
|
|
15
|
-
def self.create_donation(amount, source, email)
|
|
15
|
+
def self.create_donation(amount, source, email, destination_ein="")
|
|
16
16
|
raise "Must set secret key with set_key" unless @secret_key
|
|
17
17
|
|
|
18
18
|
uri = URI.parse("https://api.pandapay.io/v1/donations")
|
|
@@ -22,7 +22,8 @@ module BamboozledPanda
|
|
|
22
22
|
"amount" => amount,
|
|
23
23
|
"currency" => "usd",
|
|
24
24
|
"source" => source,
|
|
25
|
-
"receipt_email" => email
|
|
25
|
+
"receipt_email" => email,
|
|
26
|
+
"destination" => destination_ein
|
|
26
27
|
)
|
|
27
28
|
|
|
28
29
|
req_options = {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bamboozled_panda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kaiser Pister
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-09-
|
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A simple, easy to use, ruby wrapper for the Panda Pay API
|
|
14
14
|
email: pisterk@gmail.com
|