Class: Mail::Parsers::ContentTypeParser::ContentTypeStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/mail/parsers/content_type_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error


10
11
12
# File 'lib/mail/parsers/content_type_parser.rb', line 10

def error
  @error
end

#main_typeObject

Returns the value of attribute main_type

Returns:

  • (Object)

    the current value of main_type


10
11
12
# File 'lib/mail/parsers/content_type_parser.rb', line 10

def main_type
  @main_type
end

#parametersObject

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters


10
11
12
# File 'lib/mail/parsers/content_type_parser.rb', line 10

def parameters
  @parameters
end

#sub_typeObject

Returns the value of attribute sub_type

Returns:

  • (Object)

    the current value of sub_type


10
11
12
# File 'lib/mail/parsers/content_type_parser.rb', line 10

def sub_type
  @sub_type
end