lib/createsend/segment.rb in createsend-2.4.0 vs lib/createsend/segment.rb in createsend-2.5.0

- old
+ new

@@ -34,10 +34,10 @@ :Clauses => clauses }.to_json } response = CreateSend.post "/segments/#{segment_id}/rules.json", options end # Gets the active subscribers in this segment. - def subscribers(date, page=1, page_size=1000, order_field="email", + def subscribers(date="", page=1, page_size=1000, order_field="email", order_direction="asc") options = { :query => { :date => date, :page => page, :pagesize => page_size, \ No newline at end of file