Method: Stree::Object#content

Defined in:
lib/stree/object.rb

#content(reload = false) ⇒ Object

Download the content of the object, and caches it. Pass true to clear the cache and download the object again.



64
65
66
67
68
69
# File 'lib/stree/object.rb', line 64

def content(reload = false)
  if reload or @content.nil?
    get_object
  end
  @content
end