123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::BodyTypeMessage

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

Instance Attribute Summary

  • #body rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #content_id rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #description rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #disposition rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #encoding rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #envelope rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #extension rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #language rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #lines rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #md5 rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #media_type rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #multipart? ⇒ Boolean readonly
  • #param rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #size rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

  • #subtype rw

    BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Instance Method Summary

Instance Attribute Details

#body (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#content_id (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#description (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#disposition (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#encoding (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#envelope (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#extension (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#language (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#lines (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#md5 (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#media_type (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#multipart?Boolean (readonly)

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2089

def multipart?
  return false
end

#param (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#size (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

#subtype (rw)

BodyTypeMessage represents MESSAGE/RFC822 body structures of messages.

Fields:

envelope

Returns a Envelope giving the envelope structure.

body

Returns an object giving the body structure.

And BodyTypeMessage has all methods of BodyTypeText.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2083

class BodyTypeMessage < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:envelope, :body, :lines,
:md5, :disposition, :language,
:extension)

Instance Method Details

#media_subtype

Obsolete: use #subtype instead. Calling this will generate a warning message to stderr, then return the value of #subtype.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2096

def media_subtype
  warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1)
  return subtype
end