Module: OshparkTrueClassExtensions

Included in:
TrueClass
Defined in:
lib/oshpark/ext.rb

Instance Method Summary collapse

Instance Method Details

#to_multipart(key) ⇒ Object



65
66
67
68
# File 'lib/oshpark/ext.rb', line 65

def to_multipart key
  "Content-Disposition: form-data; name=\"#{key}\"\r\n\r\n" +
  "1\r\n"
end