Class: Mailtrap::SendingStatGroup
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::SendingStatGroup
- Defined in:
- lib/mailtrap/sending_stat_group.rb
Overview
Data Transfer Object for grouped Sending Stats data
Instance Attribute Summary collapse
-
#name ⇒ Symbol
readonly
Group type (:category, :date, :sending_domain_id, :email_service_provider).
-
#stats ⇒ SendingStats
readonly
Sending stats for this group.
-
#value ⇒ String, Integer
readonly
Group value (e.g., “Transactional”, “2026-01-01”, 1, “Gmail”).
Instance Attribute Details
#name ⇒ Symbol (readonly)
Group type (:category, :date, :sending_domain_id, :email_service_provider)
9 10 11 |
# File 'lib/mailtrap/sending_stat_group.rb', line 9 def name @name end |
#stats ⇒ SendingStats (readonly)
Sending stats for this group
9 10 11 |
# File 'lib/mailtrap/sending_stat_group.rb', line 9 def stats @stats end |
#value ⇒ String, Integer (readonly)
Group value (e.g., “Transactional”, “2026-01-01”, 1, “Gmail”)
9 10 11 |
# File 'lib/mailtrap/sending_stat_group.rb', line 9 def value @value end |