Class: Mailtrap::Inbox
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::Inbox
- Defined in:
- lib/mailtrap/inbox.rb
Overview
Data Transfer Object for Inbox
Instance Attribute Summary collapse
-
#api_domain ⇒ String
readonly
The API domain.
-
#domain ⇒ String
readonly
The inbox domain.
-
#email_domain ⇒ String
readonly
The email domain.
-
#email_username ⇒ String
readonly
The email username.
-
#email_username_enabled ⇒ Boolean
readonly
Whether the email username is enabled.
-
#emails_count ⇒ Integer
readonly
The total number of emails.
-
#emails_unread_count ⇒ Integer
readonly
The number of unread emails.
-
#forward_from_email_address ⇒ String
readonly
The forwarding email address.
-
#forwarded_messages_count ⇒ Integer
readonly
The count of forwarded messages.
-
#id ⇒ Integer
readonly
The inbox ID.
-
#last_message_sent_at ⇒ String?
readonly
The timestamp of the last sent message.
-
#max_message_size ⇒ Integer
readonly
The maximum message size in MB.
-
#max_size ⇒ Integer
readonly
The maximum inbox size in MB.
-
#name ⇒ String
readonly
The inbox name.
-
#password ⇒ String?
readonly
The inbox password.
-
#permissions ⇒ Hash
readonly
List of permissions.
-
#pop3_domain ⇒ String
readonly
The POP3 domain.
-
#pop3_ports ⇒ Array<Integer>
readonly
The list of POP3 ports.
-
#project_id ⇒ Integer
readonly
The associated project ID.
-
#sent_messages_count ⇒ Integer
readonly
The count of sent messages.
-
#smtp_ports ⇒ Array<Integer>
readonly
The list of SMTP ports.
-
#status ⇒ String
readonly
The inbox status.
-
#used ⇒ Integer
readonly
The used inbox size in MB.
-
#username ⇒ String
readonly
The inbox username.
Instance Attribute Details
#api_domain ⇒ String (readonly)
The API domain
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def api_domain @api_domain end |
#domain ⇒ String (readonly)
The inbox domain
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def domain @domain end |
#email_domain ⇒ String (readonly)
The email domain
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def email_domain @email_domain end |
#email_username ⇒ String (readonly)
The email username
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def email_username @email_username end |
#email_username_enabled ⇒ Boolean (readonly)
Whether the email username is enabled
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def email_username_enabled @email_username_enabled end |
#emails_count ⇒ Integer (readonly)
The total number of emails
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def emails_count @emails_count end |
#emails_unread_count ⇒ Integer (readonly)
The number of unread emails
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def emails_unread_count @emails_unread_count end |
#forward_from_email_address ⇒ String (readonly)
The forwarding email address
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def forward_from_email_address @forward_from_email_address end |
#forwarded_messages_count ⇒ Integer (readonly)
The count of forwarded messages
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def @forwarded_messages_count end |
#id ⇒ Integer (readonly)
The inbox ID
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def id @id end |
#last_message_sent_at ⇒ String? (readonly)
The timestamp of the last sent message
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def @last_message_sent_at end |
#max_message_size ⇒ Integer (readonly)
The maximum message size in MB
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def @max_message_size end |
#max_size ⇒ Integer (readonly)
The maximum inbox size in MB
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def max_size @max_size end |
#name ⇒ String (readonly)
The inbox name
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def name @name end |
#password ⇒ String? (readonly)
The inbox password
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def password @password end |
#permissions ⇒ Hash (readonly)
List of permissions
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def @permissions end |
#pop3_domain ⇒ String (readonly)
The POP3 domain
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def pop3_domain @pop3_domain end |
#pop3_ports ⇒ Array<Integer> (readonly)
The list of POP3 ports
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def pop3_ports @pop3_ports end |
#project_id ⇒ Integer (readonly)
The associated project ID
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def project_id @project_id end |
#sent_messages_count ⇒ Integer (readonly)
The count of sent messages
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def @sent_messages_count end |
#smtp_ports ⇒ Array<Integer> (readonly)
The list of SMTP ports
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def smtp_ports @smtp_ports end |
#status ⇒ String (readonly)
The inbox status
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def status @status end |
#used ⇒ Integer (readonly)
The used inbox size in MB
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def used @used end |
#username ⇒ String (readonly)
The inbox username
30 31 32 |
# File 'lib/mailtrap/inbox.rb', line 30 def username @username end |