Module: Card::Set::Abstract::List::OtherViews::Format

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb

Instance Method Summary collapse

Instance Method Details

#default_limitObject



11
12
13
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 11

def default_limit
  20
end

#pointer_items(args = {}) ⇒ Object



19
20
21
22
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 19

def pointer_items args={}
  page_args = args.extract! :limit, :offset
  listing card.item_cards(page_args), args
end

#view: coreObject



15
16
17
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 15

view :core do
  pointer_items.join ", "
end