Class: Address
- Inherits:
-
Object
- Object
- Address
- Defined in:
- lib/zaig/entities/address.rb
Overview
Class to create address-like objects.
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#complement ⇒ Object
Returns the value of attribute complement.
-
#country ⇒ Object
Returns the value of attribute country.
-
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
-
#number ⇒ Object
Returns the value of attribute number.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#street ⇒ Object
Returns the value of attribute street.
-
#uf ⇒ Object
Returns the value of attribute uf.
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def city @city end |
#complement ⇒ Object
Returns the value of attribute complement.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def complement @complement end |
#country ⇒ Object
Returns the value of attribute country.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def country @country end |
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def neighborhood @neighborhood end |
#number ⇒ Object
Returns the value of attribute number.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def number @number end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def postal_code @postal_code end |
#street ⇒ Object
Returns the value of attribute street.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def street @street end |
#uf ⇒ Object
Returns the value of attribute uf.
5 6 7 |
# File 'lib/zaig/entities/address.rb', line 5 def uf @uf end |