Method: Stree::Object#retrieve
- Defined in:
- lib/stree/object.rb
#retrieve ⇒ Object
Retrieves the object from the server. Method is used to download object information only (content-type, size and so on). It does NOT download the content of the object (use the content method to do it).
47 48 49 50 |
# File 'lib/stree/object.rb', line 47 def retrieve get_object(:headers => { :range => 0..0 }) self end |