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.
355 356 357 |
# File 'lib/google4r/checkout/shared.rb', line 355 def initialize(pattern=nil) self.pattern = pattern unless pattern.nil? end |
Instance Attribute Details
#pattern ⇒ Object
The pattern for this ZIP area.
352 353 354 |
# File 'lib/google4r/checkout/shared.rb', line 352 def pattern @pattern end |