Class: Munificent::Admin::UserPresenter
- Inherits:
-
ApplicationPresenter
- Object
- ActionView::Base
- ApplicationPresenter
- Munificent::Admin::UserPresenter
- Defined in:
- app/presenters/munificent/admin/user_presenter.rb
Instance Attribute Summary
Attributes inherited from ApplicationPresenter
Instance Method Summary collapse
Methods inherited from ApplicationPresenter
delegate, #initialize, #name, present, presenter_class_for
Constructor Details
This class inherits a constructor from Munificent::Admin::ApplicationPresenter
Instance Method Details
#permissions ⇒ Object
15 16 17 |
# File 'app/presenters/munificent/admin/user_presenter.rb', line 15 def record..to_sentence.capitalize end |
#states ⇒ Object
19 20 21 |
# File 'app/presenters/munificent/admin/user_presenter.rb', line 19 def states record.states.to_sentence.capitalize end |