stbaldricks 12.14.0 → 12.15.0.alpha.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dbdfe3f6d1b6b1a715d35229fba980a4af2011ec0f31ada6b0a7a1aaf9563b7
|
4
|
+
data.tar.gz: ffeafd14c655460f9bd24a484adac0696954eccf8ac538c8704e6b32ec179089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b434f3203bd20e619ced79e87f6148b8b2b59660cc5d0af04a87cf123ee40de177db460d615815908ce379716ff740be6ee2506b74fa128bc3f3771720f6d0
|
7
|
+
data.tar.gz: 0e070462e261c6dc805bf09d6bf775c4197e807b67b848f95e24f4b736707ed75fc6220f5e50639688f8e9e2f8eeec6f3c8d2c8bead8e032f3c5fadc74f81d6d
|
@@ -10,6 +10,11 @@ module SBF
|
|
10
10
|
UNKNOWN = 'unknown'
|
11
11
|
BRAINTREE = 'braintree'
|
12
12
|
PAYMENTSPRING = 'paymentspring'
|
13
|
+
GIVING_BLOCK = 'giving_block'
|
14
|
+
WIRE_TRANSFER = 'wire_transfer'
|
15
|
+
SBF_EMPLOYEE_PAYROLL = 'sbf_employee_payroll'
|
16
|
+
EMPLOYEE_FUND = 'employee_fund'
|
17
|
+
DONOR_ADVISED_FUND = 'donor_advised_fund'
|
13
18
|
end
|
14
19
|
end
|
15
20
|
end
|
@@ -415,7 +415,11 @@ module SBF
|
|
415
415
|
[->(v) { v[:type] == SBF::Client::Payment::Type::STRIPE }, 'SBF::Client::Payment::StripeDetails'],
|
416
416
|
[->(v) { v[:type] == SBF::Client::Payment::Type::VENMO }, 'SBF::Client::Payment::VenmoDetails'],
|
417
417
|
[->(v) { v[:type] == SBF::Client::Payment::Type::UNKNOWN }, 'SBF::Client::Payment::UnknownDetails'],
|
418
|
-
[->(v) { v[:type] == SBF::Client::Payment::Type::WIRE_TRANSFER }, 'SBF::Client::Payment::WireTransferDetails']
|
418
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::WIRE_TRANSFER }, 'SBF::Client::Payment::WireTransferDetails'],
|
419
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::CRYPTO }, 'SBF::Client::Payment::CryptoDetails'],
|
420
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::SQUARE }, 'SBF::Client::Payment::SquareDetails'],
|
421
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::STOCK }, 'SBF::Client::Payment::StockDetails'],
|
422
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::INSTAGRAM }, 'SBF::Client::Payment::InstagramDetails']
|
419
423
|
]
|
420
424
|
)
|
421
425
|
entity_attr_accessor :tribute, 'SBF::Client::Donation::Tribute'
|
@@ -18,6 +18,10 @@ module SBF
|
|
18
18
|
VENMO = 'venmo'.freeze
|
19
19
|
UNKNOWN = 'unknown'.freeze
|
20
20
|
WIRE_TRANSFER = 'wire_transfer'.freeze
|
21
|
+
CRYPTO = 'crypto'.freeze
|
22
|
+
SQUARE = 'square'.freeze
|
23
|
+
STOCK = 'stock'.freeze
|
24
|
+
INSTAGRAM = 'instagram'.freeze
|
21
25
|
end
|
22
26
|
|
23
27
|
module Gateway
|
@@ -25,6 +29,11 @@ module SBF
|
|
25
29
|
UNKNOWN = 'unknown'.freeze
|
26
30
|
BRAINTREE = 'braintree'.freeze
|
27
31
|
PAYMENTSPRING = 'paymentspring'.freeze
|
32
|
+
GIVING_BLOCK = 'giving_block'.freeze
|
33
|
+
WIRE_TRANSFER = 'wire_transfer'.freeze
|
34
|
+
SBF_EMPLOYEE_PAYROLL = 'sbf_employee_payroll'.freeze
|
35
|
+
EMPLOYEE_FUND = 'employee_fund'.freeze
|
36
|
+
DONOR_ADVISED_FUND = 'donor_advised_fund'.freeze
|
28
37
|
end
|
29
38
|
|
30
39
|
class Details < SBF::Client::BaseEntity
|
@@ -141,6 +150,30 @@ module SBF
|
|
141
150
|
SBF::Client::Payment::Type::GOOGLEPAY
|
142
151
|
end
|
143
152
|
end
|
153
|
+
|
154
|
+
class CryptoDetails < SBF::Client::Payment::Details
|
155
|
+
def type
|
156
|
+
SBF::Client::Payment::Type::CRYPTO
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
class SquareDetails < SBF::Client::Payment::Details
|
161
|
+
def type
|
162
|
+
SBF::Client::Payment::Type::SQUARE
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
class StockDetails < SBF::Client::Payment::Details
|
167
|
+
def type
|
168
|
+
SBF::Client::Payment::Type::STOCK
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
class InstagramDetails < SBF::Client::Payment::Details
|
173
|
+
def type
|
174
|
+
SBF::Client::Payment::Type::INSTAGRAM
|
175
|
+
end
|
176
|
+
end
|
144
177
|
end
|
145
178
|
end
|
146
179
|
end
|
data/lib/stbaldricks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stbaldricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.15.0.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -563,9 +563,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
563
563
|
version: '0'
|
564
564
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
565
565
|
requirements:
|
566
|
-
- - "
|
566
|
+
- - ">"
|
567
567
|
- !ruby/object:Gem::Version
|
568
|
-
version:
|
568
|
+
version: 1.3.1
|
569
569
|
requirements: []
|
570
570
|
rubygems_version: 3.0.3.1
|
571
571
|
signing_key:
|