Class: LiveAddress::Address
- Inherits:
-
Object
- Object
- LiveAddress::Address
- Defined in:
- lib/live_address/address.rb
Instance Attribute Summary collapse
-
#addressee ⇒ Object
Returns the value of attribute addressee.
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#candidates ⇒ Object
Returns the value of attribute candidates.
-
#city ⇒ Object
Returns the value of attribute city.
-
#lastline ⇒ Object
Returns the value of attribute lastline.
-
#secondary ⇒ Object
Returns the value of attribute secondary.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street ⇒ Object
Returns the value of attribute street.
-
#street2 ⇒ Object
Returns the value of attribute street2.
-
#urbanization ⇒ Object
Returns the value of attribute urbanization.
-
#zipcode ⇒ Object
Returns the value of attribute zipcode.
Instance Method Summary collapse
-
#initialize(options) ⇒ Address
constructor
A new instance of Address.
Constructor Details
#initialize(options) ⇒ Address
Returns a new instance of Address.
7 8 9 |
# File 'lib/live_address/address.rb', line 7 def initialize() set_attributes() end |
Instance Attribute Details
#addressee ⇒ Object
Returns the value of attribute addressee.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def addressee @addressee end |
#callback ⇒ Object
Returns the value of attribute callback.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def callback @callback end |
#candidates ⇒ Object
Returns the value of attribute candidates.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def candidates @candidates end |
#city ⇒ Object
Returns the value of attribute city.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def city @city end |
#lastline ⇒ Object
Returns the value of attribute lastline.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def lastline @lastline end |
#secondary ⇒ Object
Returns the value of attribute secondary.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def secondary @secondary end |
#state ⇒ Object
Returns the value of attribute state.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def street @street end |
#street2 ⇒ Object
Returns the value of attribute street2.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def street2 @street2 end |
#urbanization ⇒ Object
Returns the value of attribute urbanization.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def urbanization @urbanization end |
#zipcode ⇒ Object
Returns the value of attribute zipcode.
4 5 6 |
# File 'lib/live_address/address.rb', line 4 def zipcode @zipcode end |