README.md in createsend-3.3.0 vs README.md in createsend-3.4.0
- old
+ new
@@ -116,10 +116,10 @@
### Using an API key
```ruby
require 'createsend'
-cs = CreateSend::CreateSend.new {:api_key => 'your api key'}
+cs = CreateSend::CreateSend.new :api_key => 'your api key'
clients = cs.clients
```
## Basic usage
This example of listing all your clients and their campaigns demonstrates basic usage of the library and the data returned from the API: