stbaldricks 6.10.0.alpha.3 → 6.10.0.alpha.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d2c95822ef58ba63f3c3adcbe5cad0abd46d011cdf8575408561d1424d1248c
4
- data.tar.gz: 978126f5013285afd5396faca112357ec9cc806d6c9955a7a46d3bcdbb857a42
3
+ metadata.gz: fd1a3f33338b694205ee48408332b6199df5ccee04ea1f01377e214eff925f61
4
+ data.tar.gz: 78e0e49753c10b621f8055d1d3acf0b214f72facca3059773519c42ace206d1c
5
5
  SHA512:
6
- metadata.gz: f41a1feb7106d66ac5aa23aefdaaa1ab0e1713e1f1140950a0cb64fbb94f206353fad36607573352719c356c7f216cacb6439e722150da3c0b6ee2ffab0b4ddf
7
- data.tar.gz: b22015c01e0e9f73ed807639ae8457ebf3eca17c87e6988d6cc07ec21f8ebdf8d854c95293d3d2036a169ad29cdd0d9faafafbd4943289b383a9501b45f0c20d
6
+ metadata.gz: fda5e7a4537f72d93260d5ec3368fdf85c9c1d7607252c0c3d96cab0c9ddeca67bfc25bb0eaa2e001529e37e7675437799d2cf1c76a64c3db43ed661913ec5b3
7
+ data.tar.gz: 4c5e305d09a59f80efb0d5fd7aff82bb7063573051da85176ccf44a1a2a7143201c7dd106a7a638daa79d2daf6a977e8799b3af6c3b9e3c64c6d7b5824a45227
@@ -300,7 +300,6 @@ module SBF
300
300
  attr_accessor :amount
301
301
  attr_accessor :fee_amount
302
302
  attr_accessor :display_name
303
-
304
303
  multitype_attr_accessor(
305
304
  :recipient,
306
305
  [
@@ -6,7 +6,6 @@ module SBF
6
6
  module Status
7
7
  ACTIVE = 'active'
8
8
  PENDING = 'pending'
9
- SUSPENDED = 'suspended'
10
9
  end
11
10
  end
12
11
  end
@@ -92,7 +92,7 @@ module SBF
92
92
  end
93
93
 
94
94
  class Policies < SBF::Client::BaseEntity
95
- BACKGROUND_CHECK_YEARS_VALID = 3
95
+ BACKGROUND_CHECK_YEARS_VALID = 5
96
96
  attr_accessor :is_photo_policy_accepted
97
97
  attr_accessor :background_check_date, :background_check_url
98
98
 
@@ -152,6 +152,7 @@ module SBF
152
152
  class FullRecurringGift < SBF::Client::RecurringGift
153
153
  attr_accessor :status
154
154
  attr_accessor :amount
155
+ attr_accessor :fee_amount
155
156
  attr_accessor :billing_day_of_month
156
157
  attr_accessor :last_collected_at
157
158
  attr_accessor :last_failed_at
@@ -236,6 +237,16 @@ module SBF
236
237
  ],
237
238
  optional: true
238
239
  )
240
+
241
+ def amount=(value)
242
+ amount_will_change!
243
+ @amount = value.to_s.gsub(/[^0-9\.]/, '').to_f
244
+ end
245
+
246
+ def fee_amount=(value)
247
+ fee_amount_will_change!
248
+ @fee_amount = value.to_s.gsub(/[^0-9\.]/, '').to_f
249
+ end
239
250
  end
240
251
  end
241
252
  end
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '6.10.0.alpha.3'
3
+ VERSION = '6.10.0.alpha.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stbaldricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.10.0.alpha.3
4
+ version: 6.10.0.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring