# File lib/soap/attachment.rb, line 77 77: def self.contentid(obj) 78: # this needs to be fixed 79: [obj.__id__.to_s, Process.pid.to_s].join('.') 80: end
# File lib/soap/attachment.rb, line 55 55: def content 56: if @content == nil and @string_or_readable != nil 57: @content = @string_or_readable.respond_to?(:read) ? 58: @string_or_readable.read : @string_or_readable 59: end 60: @content 61: end
# File lib/soap/attachment.rb, line 43 43: def contentid 44: @contentid ||= Attachment.contentid(self) 45: end
# File lib/soap/attachment.rb, line 47 47: def contentid=(contentid) 48: @contentid = contentid 49: end
# File lib/soap/attachment.rb, line 51 51: def mime_contentid 52: '<' + contentid + '>' 53: end
# File lib/soap/attachment.rb, line 71 71: def save(filename) 72: File.open(filename, "wb") do |f| 73: write(f) 74: end 75: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.