lib/dropbox/entry.rb in dropbox-1.0.0 vs lib/dropbox/entry.rb in dropbox-1.1.0

- old
+ new

@@ -80,10 +80,16 @@ def download(options={}) @session.download path, options end alias :body :download + + # Delegates to Dropbox::API#thumbnail. + + def thumbnail(*args) + @session.thumbnail path, *args + end # Delegates to Dropbox::API#link. def link(options={}) @session.link path, options @@ -91,6 +97,6 @@ def inspect # :nodoc: "#<#{self.class.to_s} #{path}>" end end -end \ No newline at end of file +end