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