Class: TempmailSdk::ChannelSpec
- Inherits:
-
Struct
- Object
- Struct
- TempmailSdk::ChannelSpec
- Defined in:
- lib/tempmail_sdk/registry.rb
Overview
单个渠道的注册规格
generate: 接收 GenerateEmailOptions,返回 EmailInfo 的 Proc
get_emails: 接收 (email, token),返回 Array
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#generate ⇒ Object
Returns the value of attribute generate.
-
#get_emails ⇒ Object
Returns the value of attribute get_emails.
-
#name ⇒ Object
Returns the value of attribute name.
-
#website ⇒ Object
Returns the value of attribute website.
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
48 49 50 |
# File 'lib/tempmail_sdk/registry.rb', line 48 def channel @channel end |
#generate ⇒ Object
Returns the value of attribute generate
48 49 50 |
# File 'lib/tempmail_sdk/registry.rb', line 48 def generate @generate end |
#get_emails ⇒ Object
Returns the value of attribute get_emails
48 49 50 |
# File 'lib/tempmail_sdk/registry.rb', line 48 def get_emails @get_emails end |
#name ⇒ Object
Returns the value of attribute name
48 49 50 |
# File 'lib/tempmail_sdk/registry.rb', line 48 def name @name end |
#website ⇒ Object
Returns the value of attribute website
48 49 50 |
# File 'lib/tempmail_sdk/registry.rb', line 48 def website @website end |