Module: OshparkFalseClassExtensions

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

Instance Method Summary collapse

Instance Method Details

#to_multipart(key) ⇒ Object



72
73
74
75
# File 'lib/oshpark/ext.rb', line 72

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