safecharge 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/safecharge/request.rb +5 -1
- data/lib/safecharge/version.rb +1 -1
- data/lib/safecharge/wc_request.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 731dce76f09887799382bc99ea323db3f8b4877d
|
4
|
+
data.tar.gz: 34341b413962e2d82b748aced85bd66d19e80915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949e84937fd2143bf78a34c99b21f78e619ff67e6ad7841dea34908bddc7c694d87b1834e8a88a35a2b41cf0e667d266ba8cf093952a4c861969810582414406
|
7
|
+
data.tar.gz: 3e08c753bb07c7a0fd561f1ce0f929459a592b06243532b0d391d0b744d8fd4120e035f97232e5f891f74710ac3e4da1f6756e0ea6d484ad6ba6c8f39b0727b7
|
data/lib/safecharge/request.rb
CHANGED
@@ -35,12 +35,16 @@ module Safecharge
|
|
35
35
|
'webMasterId' => {:required => false, :type => 'string', length: 255},
|
36
36
|
'first_name' => {:required => false, :type => 'string', length: 30},
|
37
37
|
'last_name' => {:required => false, :type => 'string', length: 40},
|
38
|
+
'email' => {:required => false, :type => 'string', length: 100},
|
38
39
|
'city' => {:required => false, :type => 'string', length: 30},
|
39
40
|
'country' => {:required => false, :type => 'string', length: 20},
|
40
41
|
'state' => {:required => false, :type => 'string', length: 20}, # ISO code
|
41
42
|
'zip' => {:required => false, :type => 'string', length: 10}, # post code
|
42
43
|
'address1' => {:required => false, :type => 'string', length: 60},
|
43
|
-
'address2' => {:required => false, :type => 'string', length: 60}
|
44
|
+
'address2' => {:required => false, :type => 'string', length: 60},
|
45
|
+
'phone1' => {:required => false, :type => 'string', length: 18},
|
46
|
+
'phone2' => {:required => false, :type => 'string', length: 18},
|
47
|
+
'phone3' => {:required => false, :type => 'string', length: 18}
|
44
48
|
|
45
49
|
} # 'time_stamp', 'numberofitems' and 'checksum' are inserted after validation.
|
46
50
|
|
data/lib/safecharge/version.rb
CHANGED
@@ -36,12 +36,16 @@ module Safecharge
|
|
36
36
|
'user_token_id' => {:required => true, :type => 'string', length: 45},
|
37
37
|
'first_name' => {:required => false, :type => 'string', length: 30},
|
38
38
|
'last_name' => {:required => false, :type => 'string', length: 40},
|
39
|
+
'email' => {:required => false, :type => 'string', length: 100},
|
39
40
|
'city' => {:required => false, :type => 'string', length: 30},
|
40
41
|
'country' => {:required => false, :type => 'string', length: 20},
|
41
42
|
'state' => {:required => false, :type => 'string', length: 20}, # ISO code
|
42
43
|
'zip' => {:required => false, :type => 'string', length: 10}, # post code
|
43
44
|
'address1' => {:required => false, :type => 'string', length: 60},
|
44
|
-
'address2' => {:required => false, :type => 'string', length: 60}
|
45
|
+
'address2' => {:required => false, :type => 'string', length: 60},
|
46
|
+
'phone1' => {:required => false, :type => 'string', length: 18},
|
47
|
+
'phone2' => {:required => false, :type => 'string', length: 18},
|
48
|
+
'phone3' => {:required => false, :type => 'string', length: 18}
|
45
49
|
|
46
50
|
} # 'time_stamp', 'numberofitems' and 'checksum' are inserted after validation.
|
47
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: safecharge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Sag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|