solon 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/solon/customer_data.rb +0 -1
- data/lib/solon/solon_gateway.rb +2 -0
- data/solon.gemspec +1 -1
- metadata +4 -4
data/lib/solon/customer_data.rb
CHANGED
data/lib/solon/solon_gateway.rb
CHANGED
@@ -353,6 +353,7 @@ private
|
|
353
353
|
@post["BillingPostCode"] = options[:billing].post_code
|
354
354
|
@post["BillingCountry"] = options[:billing].country
|
355
355
|
@post["BillingPhone"] = options[:billing].phone
|
356
|
+
@post["BillingState"] = options[:billing].state if options[:billing].country == 'US'
|
356
357
|
end
|
357
358
|
end
|
358
359
|
|
@@ -367,6 +368,7 @@ private
|
|
367
368
|
@post["DeliveryPostCode"] = options[:delivery].post_code
|
368
369
|
@post["DeliveryCountry"] = options[:delivery].country
|
369
370
|
@post["DeliveryPhone"] = options[:delivery].phone
|
371
|
+
@post["DeliveryState"] = options[:delivery].state if options[:delivery].country == 'US'
|
370
372
|
end
|
371
373
|
end
|
372
374
|
|
data/solon.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-05-19 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|