Class: Debci::Web::Experiments

Inherits:
App
  • Object
show all
Defined in:
lib/debci/web/experiments.rb

Constant Summary

Constants included from HTMLHelpers

HTMLHelpers::ICONS

Instance Method Summary collapse

Methods inherited from App

#allow_browsing?, #authenticate!, #forbidden, #get_page_params, get_page_range, #get_page_range, #logged_in?, #logging_in?, #pagination_params, #refresh!

Methods included from HTMLHelpers

#ansi_to_html, #base_url, #download_url, #expand_pin_packages, #expand_url, #file_link, #history_url, #icon, #javascript_tag, #log_links, #log_url, #notice, notice, #package_url, #pkg_history_url, #static_url, static_url, #stylesheet_tag, #title_test_trigger_pin

Instance Method Details

#paginate(data) ⇒ Object



9
10
11
# File 'lib/debci/web/experiments.rb', line 9

def paginate(data)
  get_page_params(data, params[:page], 50)
end