Class: Net::IMAP::ResponseCode
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
Struct
|
|
Inherits: |
Struct
|
Defined in: | lib/net/imap.rb |
Overview
ResponseCode
represents response codes.
resp_text_code ::= "ALERT" / "PARSE" /
"PERMANENTFLAGS" SPACE "(" #(flag / "\*") ")" /
"READ-ONLY" / "READ-WRITE" / "TRYCREATE" /
"UIDVALIDITY" SPACE nz_number /
"UNSEEN" SPACE nz_number /
atom [SPACE 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
Instance Attribute Details
#data (rw)
ResponseCode
represents response codes.
resp_text_code ::= "ALERT" / "PARSE" /
"PERMANENTFLAGS" SPACE "(" #(flag / "\*") ")" /
"READ-ONLY" / "READ-WRITE" / "TRYCREATE" /
"UIDVALIDITY" SPACE nz_number /
"UNSEEN" SPACE nz_number /
atom [SPACE 1*<any TEXT_CHAR except "]">]
Fields:
- name
-
Returns the name, such as “ALERT”, “PERMANENTFLAGS”, or “UIDVALIDITY”.
- data
-
Returns the data, if it exists.
#name (rw)
ResponseCode
represents response codes.
resp_text_code ::= "ALERT" / "PARSE" /
"PERMANENTFLAGS" SPACE "(" #(flag / "\*") ")" /
"READ-ONLY" / "READ-WRITE" / "TRYCREATE" /
"UIDVALIDITY" SPACE nz_number /
"UNSEEN" SPACE nz_number /
atom [SPACE 1*<any TEXT_CHAR except "]">]
Fields:
- name
-
Returns the name, such as “ALERT”, “PERMANENTFLAGS”, or “UIDVALIDITY”.
- data
-
Returns the data, if it exists.