Skip to content

Instantly share code, notes, and snippets.

@maxim
Created January 26, 2009 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxim/52978 to your computer and use it in GitHub Desktop.
Save maxim/52978 to your computer and use it in GitHub Desktop.
asset.put(:service_update, {
:object => Base64::encode64s(source_data),
:filename => "#{Digest::MD5.hexdigest(source_data)}.png",
:description => self.method(options[:description]).call })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment