README.md in docbase-2.0.0 vs README.md in docbase-2.0.1

- old
+ new

@@ -183,9 +183,16 @@ ```ruby client.upload('./test.jpg') client.upload(['./test.jpg', './README.md']) ``` +#### Download + +```ruby +response = client.attachment(file_id) +File.open(file_id, 'wb') { |f| f.write(response.body) } +``` + ### switch team ```ruby client = DocBase::Client.new(access_token: 'your_access_token', team: 'kray') client.tags.body