Class: Mailtrap::SendingStats
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::SendingStats
- Defined in:
- lib/mailtrap/sending_stats.rb
Overview
Data Transfer Object for Sending Stats data
Instance Attribute Summary collapse
-
#bounce_count ⇒ Integer
readonly
Number of bounced emails.
-
#bounce_rate ⇒ Float
readonly
Bounce rate.
-
#click_count ⇒ Integer
readonly
Number of clicked emails.
-
#click_rate ⇒ Float
readonly
Click rate.
-
#delivery_count ⇒ Integer
readonly
Number of delivered emails.
-
#delivery_rate ⇒ Float
readonly
Delivery rate.
-
#open_count ⇒ Integer
readonly
Number of opened emails.
-
#open_rate ⇒ Float
readonly
Open rate.
-
#spam_count ⇒ Integer
readonly
Number of spam reports.
-
#spam_rate ⇒ Float
readonly
Spam rate.
Instance Attribute Details
#bounce_count ⇒ Integer (readonly)
Number of bounced emails
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def bounce_count @bounce_count end |
#bounce_rate ⇒ Float (readonly)
Bounce rate
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def bounce_rate @bounce_rate end |
#click_count ⇒ Integer (readonly)
Number of clicked emails
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def click_count @click_count end |
#click_rate ⇒ Float (readonly)
Click rate
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def click_rate @click_rate end |
#delivery_count ⇒ Integer (readonly)
Number of delivered emails
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def delivery_count @delivery_count end |
#delivery_rate ⇒ Float (readonly)
Delivery rate
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def delivery_rate @delivery_rate end |
#open_count ⇒ Integer (readonly)
Number of opened emails
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def open_count @open_count end |
#open_rate ⇒ Float (readonly)
Open rate
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def open_rate @open_rate end |
#spam_count ⇒ Integer (readonly)
Number of spam reports
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def spam_count @spam_count end |
#spam_rate ⇒ Float (readonly)
Spam rate
17 18 19 |
# File 'lib/mailtrap/sending_stats.rb', line 17 def spam_rate @spam_rate end |