Class: TempmailSdk::GetEmailsResult
- Inherits:
-
Object
- Object
- TempmailSdk::GetEmailsResult
- Defined in:
- lib/tempmail_sdk/types.rb
Overview
获取邮件列表的结果
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#email ⇒ Object
Returns the value of attribute email.
-
#emails ⇒ Object
Returns the value of attribute emails.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(channel: "", email: "", emails: nil, success: true) ⇒ GetEmailsResult
constructor
A new instance of GetEmailsResult.
Constructor Details
#initialize(channel: "", email: "", emails: nil, success: true) ⇒ GetEmailsResult
Returns a new instance of GetEmailsResult.
94 95 96 97 98 99 |
# File 'lib/tempmail_sdk/types.rb', line 94 def initialize(channel: "", email: "", emails: nil, success: true) @channel = channel @email = email @emails = emails || [] @success = success end |
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
92 93 94 |
# File 'lib/tempmail_sdk/types.rb', line 92 def channel @channel end |
#email ⇒ Object
Returns the value of attribute email.
92 93 94 |
# File 'lib/tempmail_sdk/types.rb', line 92 def email @email end |
#emails ⇒ Object
Returns the value of attribute emails.
92 93 94 |
# File 'lib/tempmail_sdk/types.rb', line 92 def emails @emails end |
#success ⇒ Object
Returns the value of attribute success.
92 93 94 |
# File 'lib/tempmail_sdk/types.rb', line 92 def success @success end |