method

content

ruby latest stable - Class: SOAP::Attachment

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

content()
public

No documentation available.

# File lib/soap/attachment.rb, line 54
  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