Class: Karafka::Web::Ui::Lib::Paginations::Paginators::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/karafka/web/ui/lib/paginations/paginators/base.rb

Overview

Base paginator

Direct Known Subclasses

Arrays, Partitions, Sets

Class Method Summary collapse

Class Method Details

.per_pageInteger

Returns number of elements per page.

Returns:

  • (Integer)

    number of elements per page



13
14
15
# File 'lib/karafka/web/ui/lib/paginations/paginators/base.rb', line 13

def per_page
  ::Karafka::Web.config.ui.per_page
end