lib/two_performant.rb
#  List sites. Displays the first 6 entries by default.
List sites. Displays the first 6 entries by default.
List sites . Displays the first 6 entries by default .
def sites_list(category_id=nil, page=1, perpage=6)
    request = {
      'category_id' => category_id,
      'page'        => page,
      'perpage'     => perpage
    }
    self.hook("/sites.xml", "site", request)
  end
def sites_list ( category_id = nil , page = 1 , perpage = 6 ) request = { 'category_id' => category_id , 'page' => page , 'perpage' => perpage } self . hook ( "/sites.xml" , "site" , request ) end
List sites.
List sites .
category_id
<not_specific>
page
<not_specific>
perpage
<not_specific>