Class: Mailtrap::TrackingOptOut

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

Overview

Data Transfer Object for Tracking Opt-out

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ String (readonly)

The creation timestamp

Returns:

  • (String) —

    the current value of created_at



10
11
12
# File 'lib/mailtrap/tracking_opt_out.rb', line 10

def created_at
  @created_at
end

#domain_name ⇒ String? (readonly)

Sending domain the tracking opt-out applies to

Returns:

  • (String, nil) —

    the current value of domain_name



10
11
12
# File 'lib/mailtrap/tracking_opt_out.rb', line 10

def domain_name
  @domain_name
end

#email ⇒ String (readonly)

The email address opted out of tracking

Returns:

  • (String) —

    the current value of email



10
11
12
# File 'lib/mailtrap/tracking_opt_out.rb', line 10

def email
  @email
end

#id ⇒ String (readonly)

The tracking opt-out UUID

Returns:

  • (String) —

    the current value of id



10
11
12
# File 'lib/mailtrap/tracking_opt_out.rb', line 10

def id
  @id
end