README.markdown in ruby-box-1.6.0 vs README.markdown in ruby-box-1.7.0
- old
+ new
@@ -145,9 +145,17 @@
```ruby
file = client.file('/image_folder/an-image.jpg').create_shared_link
p file.shared_link.url # https://www.box.com/s/d6de3224958c1755412
```
+* Copying a file to another folder.
+
+```ruby
+file = client.file('/image_folder/an-image.jpg')
+folder = client.folder('image_folder')
+file.copy_to(folder)
+```
+
Search
------
You can use RubyBox's search method to return files and folders that match a given query.
\ No newline at end of file