Class: Address
- Inherits:
-
ContactAttribute
- Object
- LogicalModel
- ContactAttribute
- Address
- Defined in:
- app/models/address.rb
Constant Summary
Constants inherited from ContactAttribute
ContactAttribute::AVAILABLE_TYPES
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#state ⇒ Object
Returns the value of attribute state.
Attributes inherited from ContactAttribute
Instance Method Summary collapse
Methods inherited from ContactAttribute
#_create, #always_public?, #id, #id=, #json_root, #new_record?, #to_key
Methods included from ContactAttribute::CustomKeys
#async_custom_keys, #custom_keys
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
2 3 4 |
# File 'app/models/address.rb', line 2 def category @category end |
#city ⇒ Object
Returns the value of attribute city.
2 3 4 |
# File 'app/models/address.rb', line 2 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
2 3 4 |
# File 'app/models/address.rb', line 2 def country @country end |
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
2 3 4 |
# File 'app/models/address.rb', line 2 def neighborhood @neighborhood end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
2 3 4 |
# File 'app/models/address.rb', line 2 def postal_code @postal_code end |
#state ⇒ Object
Returns the value of attribute state.
2 3 4 |
# File 'app/models/address.rb', line 2 def state @state end |
Instance Method Details
#_type ⇒ Object
12 13 14 |
# File 'app/models/address.rb', line 12 def _type self.class.name end |