Class: Net::IMAP::ResponseCode
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::ResponseCode
- Defined in:
- lib/net/imap/response_data.rb
Overview
Net::IMAP::ResponseCode represents response codes.
resp_text_code ::= "ALERT" /
"BADCHARSET" [SP "(" astring *(SP astring) ")" ] /
capability_data / "PARSE" /
"PERMANENTFLAGS" SP "("
[flag_perm *(SP flag_perm)] ")" /
"READ-ONLY" / "READ-WRITE" / "TRYCREATE" /
"UIDNEXT" SP nz_number / "UIDVALIDITY" SP nz_number /
"UNSEEN" SP nz_number /
atom [SP 1*<any TEXT-CHAR except "]">]
Fields:
- name
-
Returns the name, such as “ALERT”, “PERMANENTFLAGS”, or “UIDVALIDITY”.
- data
-
Returns the data, if it exists.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
113 114 115 |
# File 'lib/net/imap/response_data.rb', line 113 def data @data end |
#name ⇒ Object
Returns the value of attribute name
113 114 115 |
# File 'lib/net/imap/response_data.rb', line 113 def name @name end |