Class: LesliShield::InviteService

Inherits:
Lesli::ApplicationLesliService
  • Object
show all
Defined in:
app/services/lesli_shield/invite_service.rb

Instance Method Summary collapse

Instance Method Details

#index(params) ⇒ Object



36
37
38
39
40
41
# File 'app/services/lesli_shield/invite_service.rb', line 36

def index params
    Invite.all
    .page(query[:pagination][:page])
    .per(query[:pagination][:perPage])
    .order(updated_at: :desc)
end