Class: Google4R::Checkout::UsStateArea
- Defined in:
- lib/google4r/checkout/shared.rb
Overview
Instances of UsStateArea represent states in the US.
Instance Attribute Summary collapse
-
#state ⇒ Object
The two-letter code of the US state.
Instance Method Summary collapse
-
#initialize(state = nil) ⇒ UsStateArea
constructor
You can optionally initialize the Area with its value.
Constructor Details
#initialize(state = nil) ⇒ UsStateArea
You can optionally initialize the Area with its value.
708 709 710 |
# File 'lib/google4r/checkout/shared.rb', line 708 def initialize(state=nil) @state = state unless state.nil? end |
Instance Attribute Details
#state ⇒ Object
The two-letter code of the US state.
705 706 707 |
# File 'lib/google4r/checkout/shared.rb', line 705 def state @state end |