lib/hominid/campaign.rb in hominid-3.0.1 vs lib/hominid/campaign.rb in hominid-3.0.2

- old
+ new

@@ -10,11 +10,11 @@ def find_campaign_by_web_id(campaign_web_id) campaigns['data'].find {|c| c["web_id"] == campaign_web_id} end # Find a campaign by name - def find_campaigns_by_title(campaign_title) - campaigns({:title => campaign_title})['data'] + def find_campaigns_by_title(campaign_title, *args) + campaigns({:title => campaign_title}, *args)['data'] end # Find campaigns by list name def find_campaigns_by_list_name(list_name, *args) campaigns({:list_id => find_list_id_by_name(list_name)}, *args)['data'] \ No newline at end of file