Method: GChart::Base#fetch

Defined in:
lib/gchart/base.rb

#fetchObject

Returns the chart’s generated PNG as a blob.



82
83
84
# File 'lib/gchart/base.rb', line 82

def fetch
  open(to_url) { |io| io.read }
end