Class: Admin::RelinquishmentContacts::IndexPresenter

Inherits:
Object
  • Object
show all
Defined in:
app/presenters/admin/relinquishment_contacts/index_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ IndexPresenter

Returns a new instance of IndexPresenter.


2
3
4
# File 'app/presenters/admin/relinquishment_contacts/index_presenter.rb', line 2

def initialize(user)
  @user = user
end

Instance Method Details

#animalObject


6
7
8
# File 'app/presenters/admin/relinquishment_contacts/index_presenter.rb', line 6

def animal
  Animal.organization(@user).order(name: :asc)
end