123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::BodyTypeText

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

Overview

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

Instance Attribute Summary

  • #content_id rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #description rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #disposition rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #encoding rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #extension rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #language rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #lines rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #location rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #md5 rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #media_type rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #multipart? ⇒ Boolean readonly

    BodyTypeText is not used for multipart MIME parts.

  • #param rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #size rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

  • #subtype rw

    BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

Instance Method Summary

Instance Attribute Details

#content_id (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#description (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#disposition (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#encoding (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#extension (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#language (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#lines (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#location (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#md5 (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#media_type (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#multipart?Boolean (readonly)

BodyTypeText is not used for multipart MIME parts.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 979

def multipart?
  return false
end

#param (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#size (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

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

#subtype (rw)

BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.

BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 960

class BodyTypeText < Struct.new(:media_type, :subtype,
:param, :content_id,
:description, :encoding, :size,
:lines,
:md5, :disposition, :language,
:location,
: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/response_data.rb', line 986

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