blastramp 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/blastramp/address.rb +3 -1
- data/lib/blastramp/version.rb +1 -1
- metadata +3 -3
data/lib/blastramp/address.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Blastramp
|
2
2
|
class Address < Entity
|
3
|
-
has_properties :name, :line1, :line2, :line3, :city, :provstate, :country, :phone, :fax, :email, :web, :contact
|
3
|
+
has_properties :name, :line1, :line2, :line3, :city, :provstate, :postalcode, :country, :phone, :fax, :email, :web, :contact
|
4
4
|
|
5
5
|
def initialize_defaults
|
6
6
|
self.name = '' # Name as it appears on the ship to address label.
|
@@ -9,6 +9,7 @@ module Blastramp
|
|
9
9
|
self.line3 = ''
|
10
10
|
self.city = '' # City name as on the ship to address label
|
11
11
|
self.provstate = '' # Province/State as it appears on the ship to address label
|
12
|
+
self.postalcode = '' # Postal or Zip code as it appears on the ship to address label
|
12
13
|
self.country = 'CA' # Country name as it appears on the ship to address label.
|
13
14
|
self.phone = '--' # Phone number (any format). If not known submit "--"
|
14
15
|
self.fax = '--' # Fax number (any format). If not known submit "--"
|
@@ -27,6 +28,7 @@ module Blastramp
|
|
27
28
|
data['line3'] = line3
|
28
29
|
data['city'] = city
|
29
30
|
data['provstate'] = provstate
|
31
|
+
data['postalcode'] = postalcode
|
30
32
|
data['country'] = country
|
31
33
|
data['phone'] = phone
|
32
34
|
data['fax'] = fax
|
data/lib/blastramp/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 7
|
9
|
+
version: 0.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- cnantais
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-07-
|
17
|
+
date: 2011-07-09 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|