money_mover 0.0.5 → 0.0.6
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 +4 -4
- data/lib/money_mover/dwolla/models/receive_only_business_customer.rb +1 -1
- data/lib/money_mover/dwolla/models/receive_only_customer.rb +0 -4
- data/lib/money_mover/dwolla/models/unverified_business_customer.rb +2 -7
- data/lib/money_mover/dwolla/models/verified_business_customer.rb +1 -1
- data/lib/money_mover/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00f83a02bf6fbc8289d72c49efb7317a2d0f2826
|
4
|
+
data.tar.gz: f08ee651e612808e09e23d355df6182bd64f09b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499c8c897ff246de0d6ad400f4ad7736868b8a735104c4a20872a4a3dea56a4313d0b56bb4dd6dbbd10186884c50facb739f5dd5104c17751688373be156a7ae
|
7
|
+
data.tar.gz: 149b4ffec1177b88251b16a7730dd99dfd0eddc54dc38c12653a6d63e6e9a01493103b7ac5cf80d8b64ca4ba80bf9c969feec3e666d5c7f852acb9bfa758f102
|
@@ -2,12 +2,7 @@ module MoneyMover
|
|
2
2
|
module Dwolla
|
3
3
|
class UnverifiedBusinessCustomer < Customer
|
4
4
|
validates_presence_of :businessName
|
5
|
-
validates_inclusion_of :businessType, in: COMPANY_TYPES
|
6
|
-
|
7
|
-
def initialize(attrs = {})
|
8
|
-
attrs[:type] = 'unverified'
|
9
|
-
super attrs
|
10
|
-
end
|
5
|
+
#validates_inclusion_of :businessType, in: COMPANY_TYPES
|
11
6
|
|
12
7
|
private
|
13
8
|
|
@@ -30,12 +25,12 @@ module MoneyMover
|
|
30
25
|
ein: ein,
|
31
26
|
doingBusinessAs: doingBusinessAs,
|
32
27
|
website: website,
|
33
|
-
type: type,
|
34
28
|
ipAddress: ipAddress
|
35
29
|
}
|
36
30
|
|
37
31
|
# hack to fix bug on dwolla's side with funding sources being removed if no dba is sent
|
38
32
|
create_attrs[:doingBusinessAs] = businessName unless doingBusinessAs.present?
|
33
|
+
create_attrs[:type] = 'unverified'
|
39
34
|
|
40
35
|
create_attrs.compact
|
41
36
|
end
|
data/lib/money_mover/version.rb
CHANGED