Class: Mailosaur::Models::EmailClient
- Defined in:
- lib/Mailosaur/models/email_client.rb
Instance Attribute Summary collapse
-
#label ⇒ String
The unique email client label.
-
#name ⇒ String
The display name of the email client.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ EmailClient
constructor
A new instance of EmailClient.
Methods inherited from BaseModel
Constructor Details
#initialize(data = {}) ⇒ EmailClient
Returns a new instance of EmailClient.
4 5 6 7 |
# File 'lib/Mailosaur/models/email_client.rb', line 4 def initialize(data = {}) @label = data['label'] @name = data['name'] end |
Instance Attribute Details
#label ⇒ String
Returns The unique email client label. Used when generating email preview requests.
10 11 12 |
# File 'lib/Mailosaur/models/email_client.rb', line 10 def label @label end |
#name ⇒ String
Returns The display name of the email client.
13 14 15 |
# File 'lib/Mailosaur/models/email_client.rb', line 13 def name @name end |