README.md in rubyflare-0.2.0 vs README.md in rubyflare-0.2.1
- old
+ new
@@ -29,10 +29,13 @@
```
require 'rubyflare'
connection = Rubyflare.connect_with('bear@dog.com', 'supersecretapikey')
+
+ # OR connect with API Token
+ connection = Rubyflare.connect_with_token('API_TOKEN')
```
#### GET your user account details
```
@@ -77,10 +80,10 @@
#### Add(POST) an A Record to the zone
```
dns_record = connection.post('zones/{#zone.result[:id]}/dns_records', {
- type: 'A",
+ type: 'A',
name: 'supercooldomain.com',
content: '127.0.0.1'
})
# Check it out