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.

  • #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.

  • #multipart? ⇒ Boolean readonly

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 2023

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 2023

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 2023

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 2023

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 2023

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 2023

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 2023

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 2023

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 2023

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 2023

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 2023

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 2029

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 2023

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 2023

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 2023

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 2036

def media_subtype
  $stderr.printf("warning: media_subtype is obsolete.\n")
  $stderr.printf("         use subtype instead.\n")
  return subtype
end