stbaldricks 4.0.0.alpha.1 → 4.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b5ef498058063f09620bded5c11bb59e5353e10
|
4
|
+
data.tar.gz: 02b2a3e8a6938c0cb91bed3b86e6f13124f2b481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c093ac8e3aa955a772e76c9fb4d569ade16d548d65af29b8009ea2f463d418daaf4d3cba2f102ec3df7cbacfd9f8b68804fee22cecdf862edeeb8fa16fa50ddf
|
7
|
+
data.tar.gz: ec8451c15be8a3c441ffff955322c43166fef19b3ca930010843be269c93f10e6f5e34d1d028c42f9f1bf071c578fc5fd7f45f30fac6ca8fa7e5451674fe9134
|
@@ -355,7 +355,8 @@ module SBF
|
|
355
355
|
[->(v) { v[:type] == SBF::Client::Payment::Type::NONCE }, 'SBF::Client::Payment::NonceDetails'],
|
356
356
|
[->(v) { v[:type] == SBF::Client::Payment::Type::WIRE_TRANSFER }, 'SBF::Client::Payment::WireTransferDetails'],
|
357
357
|
[->(v) { v[:type] == SBF::Client::Payment::Type::RECURRING_GIFTS }, 'SBF::Client::Payment::BraintreeSubscriptionDetails'],
|
358
|
-
[->(v) { v[:type] == SBF::Client::Payment::Type::UNKNOWN }, 'SBF::Client::Payment::UnknownDetails']
|
358
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::UNKNOWN }, 'SBF::Client::Payment::UnknownDetails'],
|
359
|
+
[->(v) { v[:type] == SBF::Client::Payment::Type::PAYPAL }, 'SBF::Client::Payment::PaypalDetails']
|
359
360
|
]
|
360
361
|
)
|
361
362
|
entity_attr_accessor :tribute, 'SBF::Client::Donation::Tribute'
|
@@ -12,6 +12,7 @@ module SBF
|
|
12
12
|
NONCE = 'nonce'
|
13
13
|
WIRE_TRANSFER = 'wire_transfer'
|
14
14
|
RECURRING_GIFTS = 'recurring'
|
15
|
+
PAYPAL = 'paypal'
|
15
16
|
end
|
16
17
|
|
17
18
|
class Details < SBF::Client::BaseEntity
|
@@ -81,6 +82,12 @@ module SBF
|
|
81
82
|
SBF::Client::Payment::Type::NONCE
|
82
83
|
end
|
83
84
|
end
|
85
|
+
|
86
|
+
class PaypalDetails < SBF::Client::Payment::Details
|
87
|
+
def type
|
88
|
+
SBF::Client::Payment::Type::PAYPAL
|
89
|
+
end
|
90
|
+
end
|
84
91
|
end
|
85
92
|
end
|
86
93
|
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: 4.0.0.alpha.
|
4
|
+
version: 4.0.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: 2017-08-
|
11
|
+
date: 2017-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
215
|
version: 1.3.1
|
216
216
|
requirements: []
|
217
217
|
rubyforge_project:
|
218
|
-
rubygems_version: 2.6.
|
218
|
+
rubygems_version: 2.6.12
|
219
219
|
signing_key:
|
220
220
|
specification_version: 4
|
221
221
|
summary: St. Baldrick's Foundation Ruby Client Library
|