Class: Parts::ParamPart

Inherits:
Object
  • Object
show all
Defined in:
lib/cmis.rb

Instance Method Summary collapse

Constructor Details

#initialize(boundary, name, value, headers = {}) ⇒ ParamPart


26
27
28
29
# File 'lib/cmis.rb', line 26

def initialize(boundary, name, value, headers = {})
  headers.merge!('Content-Type' => 'text/plain; charset=utf-8')
  old_initialize(boundary, name, value, headers)
end

Instance Method Details

#old_initializeObject


25
# File 'lib/cmis.rb', line 25

alias_method :old_initialize, :initialize