# File lib/soap/attachment.rb, line 77 def self.contentid(obj) # this needs to be fixed [obj.__id__.to_s, Process.pid.to_s].join('.') end
# File lib/soap/attachment.rb, line 55 def content if @content == nil and @string_or_readable != nil @content = @string_or_readable.respond_to?(:read) ? @string_or_readable.read : @string_or_readable end @content end
# File lib/soap/attachment.rb, line 43 def contentid @contentid ||= Attachment.contentid(self) end
# File lib/soap/attachment.rb, line 47 def contentid=(contentid) @contentid = contentid end
# File lib/soap/attachment.rb, line 51 def mime_contentid '<' + contentid + '>' end
Generated with the Darkfish Rdoc Generator 2.