lib/createsend/campaign.rb in createsend-0.3.0 vs lib/createsend/campaign.rb in createsend-0.3.1

- old
+ new

@@ -106,11 +106,12 @@ response = get "unsubscribes", options Hashie::Mash.new(response) end # Retrieves the bounces for this campaign. - def bounces(page=1, page_size=1000, order_field="date", order_direction="asc") + def bounces(date="1900-01-01", page=1, page_size=1000, order_field="date", order_direction="asc") options = { :query => { + :date => date, :page => page, :pagesize => page_size, :orderfield => order_field, :orderdirection => order_direction } } response = get "bounces", options \ No newline at end of file