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

- old
+ new

@@ -30,9 +30,15 @@ # Gets the sent campaigns belonging to this client. def campaigns response = get 'campaigns' response.map{|item| Hashie::Mash.new(item)} end + + # Gets the currently scheduled campaigns belonging to this client. + def scheduled + response = get 'scheduled' + response.map{|item| Hashie::Mash.new(item)} + end # Gets the draft campaigns belonging to this client. def drafts response = get 'drafts' response.map{|item| Hashie::Mash.new(item)} \ No newline at end of file