Class: Munificent::Donation
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Munificent::Donation
- Includes:
- AASM
- Defined in:
- app/models/munificent/donation.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
Instance Method Details
#charity_name ⇒ Object
49 50 51 |
# File 'app/models/munificent/donation.rb', line 49 def charity_name charity&.name end |
#donator_name ⇒ Object
53 54 55 |
# File 'app/models/munificent/donation.rb', line 53 def donator_name super || I18n.t("common.abstract.anonymous") end |