blastramp 0.0.6 → 0.0.7

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.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Blastramp
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
4
4
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
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-08 00:00:00 -07:00
17
+ date: 2011-07-09 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency