Class: Desktop::WebImage

Inherits:
Image
  • Object
show all
Defined in:
lib/desktop/web_image.rb

Instance Attribute Summary

Attributes inherited from Image

#path

Instance Method Summary collapse

Methods inherited from Image

#filename, #initialize

Constructor Details

This class inherits a constructor from Desktop::Image

Instance Method Details

#dataObject



6
7
8
# File 'lib/desktop/web_image.rb', line 6

def data
  HTTP.connection.get(path).body
end