Class: Mailtrap::SendingStats

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailtrap/sending_stats.rb

Overview

Data Transfer Object for Sending Stats data

Instance Attribute Summary collapse

Instance Attribute Details

#bounce_countInteger (readonly)

Number of bounced emails

Returns:

  • the current value of bounce_count



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def bounce_count
  @bounce_count
end

#bounce_rateFloat (readonly)

Bounce rate

Returns:

  • the current value of bounce_rate



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def bounce_rate
  @bounce_rate
end

#click_countInteger (readonly)

Number of clicked emails

Returns:

  • the current value of click_count



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def click_count
  @click_count
end

#click_rateFloat (readonly)

Click rate

Returns:

  • the current value of click_rate



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def click_rate
  @click_rate
end

#delivery_countInteger (readonly)

Number of delivered emails

Returns:

  • the current value of delivery_count



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def delivery_count
  @delivery_count
end

#delivery_rateFloat (readonly)

Delivery rate

Returns:

  • the current value of delivery_rate



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def delivery_rate
  @delivery_rate
end

#open_countInteger (readonly)

Number of opened emails

Returns:

  • the current value of open_count



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def open_count
  @open_count
end

#open_rateFloat (readonly)

Open rate

Returns:

  • the current value of open_rate



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def open_rate
  @open_rate
end

#spam_countInteger (readonly)

Number of spam reports

Returns:

  • the current value of spam_count



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def spam_count
  @spam_count
end

#spam_rateFloat (readonly)

Spam rate

Returns:

  • the current value of spam_rate



17
18
19
# File 'lib/mailtrap/sending_stats.rb', line 17

def spam_rate
  @spam_rate
end