class Lookbook::DataUriEncoder

def call

def call
  "data:#{mime_type},#{ERB::Util.url_encode(str)}"
end

def initialize(str, mime_type)

def initialize(str, mime_type)
  @str = str
  @mime_type = mime_type
end