Class: Recipient
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Recipient
- Includes:
- ActiveRecord::Transitions
- Defined in:
- app/models/recipient.rb
Instance Method Summary collapse
Instance Method Details
#state_enum ⇒ Object
25 26 27 |
# File 'app/models/recipient.rb', line 25 def state_enum Recipient.state_machine.states.collect(&:name).map {|name| name.to_s} end |