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: 22723587b4356d295b04f95fa86e47537c4faa27
4
- data.tar.gz: 467dbd133382ce60b5f04084c66bd8d3921ac6f4
3
+ metadata.gz: 0b5ef498058063f09620bded5c11bb59e5353e10
4
+ data.tar.gz: 02b2a3e8a6938c0cb91bed3b86e6f13124f2b481
5
5
  SHA512:
6
- metadata.gz: 2fc66e77705afbdec0f4b148003d3b6cae95918e4ec9fdd49a333828ec0825b3363291b7d6163e35aa037c363b32e01b80cc5410bb3efb875994dcf5755269f8
7
- data.tar.gz: 98af80a567f1af4ee3edb119c23bded9fabcb10ae81dd74e252d4b556c4bd85f3badf1b41cccd599e033dd34de0eea3b1bc05764298877d2ab73104d64b893c2
6
+ metadata.gz: c093ac8e3aa955a772e76c9fb4d569ade16d548d65af29b8009ea2f463d418daaf4d3cba2f102ec3df7cbacfd9f8b68804fee22cecdf862edeeb8fa16fa50ddf
7
+ data.tar.gz: ec8451c15be8a3c441ffff955322c43166fef19b3ca930010843be269c93f10e6f5e34d1d028c42f9f1bf071c578fc5fd7f45f30fac6ca8fa7e5451674fe9134
@@ -11,6 +11,7 @@ module SBF
11
11
  MONEY_ORDER = 'money_order'
12
12
  WIRE_TRANSFER = 'wire_transfer'
13
13
  RECURRING_GIFTS = 'recurring'
14
+ PAYPAL = 'paypal'
14
15
  end
15
16
  end
16
17
  end
@@ -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
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '4.0.0.alpha.1'
3
+ VERSION = '4.0.0.alpha.2'
4
4
  end
5
5
  end
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.1
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-09 00:00:00.000000000 Z
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.11
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