Class: TMail::ReceivedHeader

Inherits:
StructuredHeader show all
Defined in:
lib/tmail/header.rb

Constant Summary collapse

PARSE_TYPE =
:RECEIVED

Constants inherited from HeaderField

HeaderField::FNAME_TO_CLASS

Constants included from TextUtils

TextUtils::ATOM_UNSAFE, TextUtils::CONTROL_CHAR, TextUtils::MESSAGE_ID, TextUtils::MIME_ENCODED, TextUtils::MONTH, TextUtils::NKF_FLAGS, TextUtils::PHRASE_UNSAFE, TextUtils::RFC2231_ENCODED, TextUtils::TOKEN_UNSAFE, TextUtils::WDAY, TextUtils::ZONESTR_TABLE

Instance Method Summary collapse

Methods inherited from StructuredHeader

#comments

Methods inherited from HeaderField

#accept, #body, #body=, #empty?, #illegal?, #initialize, #inspect, internal_new, new, new_from_port, newobj

Methods included from StrategyInterface

#accept_strategy, create_dest, #decoded, #encoded

Methods included from TextUtils

#atom_safe?, #decode_RFC2231, #decode_params, #join_domain, #message_id?, #mime_encoded?, #quote_atom, #quote_boundary, #quote_phrase, #quote_token, #quote_unquoted_bencode, #quote_unquoted_name, #time2str, #timezone_string_to_unixtime, #to_kcode, #token_safe?, #unquote

Constructor Details

This class inherits a constructor from TMail::HeaderField

Instance Method Details

#_forObject



546
547
548
549
# File 'lib/tmail/header.rb', line 546

def _for
  ensure_parsed
  @_for
end

#_for=(arg) ⇒ Object



551
552
553
554
# File 'lib/tmail/header.rb', line 551

def _for=( arg )
  ensure_parsed
  @_for = arg
end

#byObject



511
512
513
514
# File 'lib/tmail/header.rb', line 511

def by
  ensure_parsed
  @by
end

#by=(arg) ⇒ Object



516
517
518
519
# File 'lib/tmail/header.rb', line 516

def by=( arg )
  ensure_parsed
  @by = arg
end

#dateObject



556
557
558
559
# File 'lib/tmail/header.rb', line 556

def date
  ensure_parsed
  @date
end

#date=(arg) ⇒ Object



561
562
563
564
# File 'lib/tmail/header.rb', line 561

def date=( arg )
  ensure_parsed
  @date = arg
end

#fromObject



501
502
503
504
# File 'lib/tmail/header.rb', line 501

def from
  ensure_parsed
  @from
end

#from=(arg) ⇒ Object



506
507
508
509
# File 'lib/tmail/header.rb', line 506

def from=( arg )
  ensure_parsed
  @from = arg
end

#idObject



536
537
538
539
# File 'lib/tmail/header.rb', line 536

def id
  ensure_parsed
  @id
end

#id=(arg) ⇒ Object



541
542
543
544
# File 'lib/tmail/header.rb', line 541

def id=( arg )
  ensure_parsed
  @id = arg
end

#viaObject



521
522
523
524
# File 'lib/tmail/header.rb', line 521

def via
  ensure_parsed
  @via
end

#via=(arg) ⇒ Object



526
527
528
529
# File 'lib/tmail/header.rb', line 526

def via=( arg )
  ensure_parsed
  @via = arg
end

#withObject



531
532
533
534
# File 'lib/tmail/header.rb', line 531

def with
  ensure_parsed
  @with
end