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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bamboozled_panda.rb +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f61c5d5917926b5e91354f0c390fd2d0bd88cf70
4
- data.tar.gz: 53b7e47f2c91fffa17d26171c30fca191481981a
3
+ metadata.gz: d993377be0481cb04a1551c76517f36695e4a458
4
+ data.tar.gz: a7456f3f04994e7f361ade63d3f4e747ae1805fe
5
5
  SHA512:
6
- metadata.gz: f246940cc9997d8f4747f1615a76041395bdae093a077a7121208535a57eb6f05ea0c9f2e440378bc87a81d6cbb0e3a07a5c54f1845b0323be6abf6501a495d1
7
- data.tar.gz: 46407ecebe0e8873fd3b82a51babc1a613be964ed007d0718d6ca47fb3eac7dd677f38b71c30e3a619fdacd384e6c74f2b08f29f3fb2cb10179b819400765bdf
6
+ metadata.gz: 00b1e61c61a97af42f4385f6b1092c8b7496351b000700fa1d7a726c162478e85b7c5cf47c251fdb97bd88fe580354a6c3b7e62714a596f060f890db97cca898
7
+ data.tar.gz: 0d26832cb430748ab00361b5ea45a4af8865abd52cb5ea4cdeac7dab32a13f3d6d9513fbd06376f2fe042b5580a45e65763fa3e9216c75cf1810825e3da00ab1
@@ -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.0
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-12 00:00:00.000000000 Z
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