Class: Net::IMAP::Address
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::Address
- Defined in:
- lib/net/imap/response_data.rb
Overview
Net::IMAP::Address represents electronic mail addresses.
Fields:
- name
-
Returns the phrase from [RFC-822] mailbox.
- route
-
Returns the route from [RFC-822] route-addr.
- mailbox
-
nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part.
- host
-
nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name.
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#mailbox ⇒ Object
Returns the value of attribute mailbox.
-
#name ⇒ Object
Returns the value of attribute name.
-
#route ⇒ Object
Returns the value of attribute route.
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host
323 324 325 |
# File 'lib/net/imap/response_data.rb', line 323 def host @host end |
#mailbox ⇒ Object
Returns the value of attribute mailbox
323 324 325 |
# File 'lib/net/imap/response_data.rb', line 323 def mailbox @mailbox end |
#name ⇒ Object
Returns the value of attribute name
323 324 325 |
# File 'lib/net/imap/response_data.rb', line 323 def name @name end |
#route ⇒ Object
Returns the value of attribute route
323 324 325 |
# File 'lib/net/imap/response_data.rb', line 323 def route @route end |