Class: CreditorDecorator
- Inherits:
-
SimpleDecorator::Base
- Object
- SimpleDelegator
- SimpleDecorator::Base
- CreditorDecorator
- Defined in:
- app/decorators/creditor_decorator.rb
Instance Method Summary collapse
Methods inherited from SimpleDecorator::Base
Methods included from SimpleDecorator::RailsHelpers
Instance Method Details
#cant_have_crc_message ⇒ Object
8 9 10 |
# File 'app/decorators/creditor_decorator.rb', line 8 def t('creditor.messages.cant_have_crc') unless company? end |
#commercial_registration_date ⇒ Object
4 5 6 |
# File 'app/decorators/creditor_decorator.rb', line 4 def commercial_registration_date localize super if super end |