Class: Google4R::Checkout::UsZipArea
- Defined in:
- lib/google4r/checkout/shared.rb
Overview
Instances of UsZipArea represent areas specified by US ZIPs and ZIP patterns.
Instance Attribute Summary collapse
-
#pattern ⇒ Object
The pattern for this ZIP area.
Instance Method Summary collapse
-
#initialize(pattern = nil) ⇒ UsZipArea
constructor
You can optionally initialize the Area with its value.
Constructor Details
#initialize(pattern = nil) ⇒ UsZipArea
You can optionally initialize the Area with its value.
663 664 665 |
# File 'lib/google4r/checkout/shared.rb', line 663 def initialize(pattern=nil) self.pattern = pattern unless pattern.nil? end |
Instance Attribute Details
#pattern ⇒ Object
The pattern for this ZIP area.
660 661 662 |
# File 'lib/google4r/checkout/shared.rb', line 660 def pattern @pattern end |