README.md in createsend-5.1.1 vs README.md in createsend-6.0.0
- old
+ new
@@ -131,10 +131,10 @@
clients = cs.clients
clients.each do |cl|
p "Client: #{cl.Name}"
client = CreateSend::Client.new auth, cl.ClientID
p "- Campaigns:"
- client.campaigns.each do |cm|
+ client.drafts.each do |cm|
p " - #{cm.Subject}"
end
end
```