Class: Corzinus::AddressDecorator
- Inherits:
-
Drape::Decorator
- Object
- Drape::Decorator
- Corzinus::AddressDecorator
- Defined in:
- app/decorators/corzinus/address_decorator.rb
Instance Method Summary collapse
Instance Method Details
#city_zip ⇒ Object
9 10 11 |
# File 'app/decorators/corzinus/address_decorator.rb', line 9 def city_zip [city, zip].join(' ') end |
#full_name ⇒ Object
5 6 7 |
# File 'app/decorators/corzinus/address_decorator.rb', line 5 def full_name [first_name, last_name].join(' ').titleize end |