lib/two_performant.rb
def banners_list(campaign_id, page=1, perpage=6)
    request = {
      'page'    => page,
      'perpage' => perpage
    }

    self.hook("/campaigns/#{campaign_id}/banners.xml", "banner", request, 'GET')
  end
#  List banners from a campaign. Displays the first 6 entries by default.
List banners from a campaign. Displays the first 6 entries by default.
List banners from a campaign . Displays the first 6 entries by default .
def banners_list(campaign_id, page=1, perpage=6)
    request = {
      'page'    => page,
      'perpage' => perpage
    }
    self.hook("/campaigns/#{campaign_id}/banners.xml", "banner", request, 'GET')
  end
def banners_list ( campaign_id , page = 1 , perpage = 6 ) request = { 'page' => page , 'perpage' => perpage } self . hook ( "/campaigns/#{campaign_id}/banners.xml" , "banner" , request , 'GET' ) end
List banners from a campaign.
List banners from a campaign .
campaign_id
page
perpage