Class: Mailtrap::SendingDomain

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

Overview

Data Transfer Object for Sending Domain

Instance Attribute Summary collapse

Instance Attribute Details

#alert_recipient_emailString? (readonly)

The email address for alert recipients

Returns:

  • the current value of alert_recipient_email



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def alert_recipient_email
  @alert_recipient_email
end

Whether auto unsubscribe link is enabled

Returns:

  • the current value of auto_unsubscribe_link_enabled



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def auto_unsubscribe_link_enabled
  @auto_unsubscribe_link_enabled
end

#click_tracking_enabledBoolean (readonly)

Whether click tracking is enabled

Returns:

  • the current value of click_tracking_enabled



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def click_tracking_enabled
  @click_tracking_enabled
end

#compliance_statusString (readonly)

The compliance status of the sending domain

Returns:

  • the current value of compliance_status



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def compliance_status
  @compliance_status
end

#created_atObject

Returns the value of attribute created_at

Returns:

  • the current value of created_at



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def created_at
  @created_at
end

#critical_alerts_enabledBoolean (readonly)

Whether critical alerts are enabled

Returns:

  • the current value of critical_alerts_enabled



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def critical_alerts_enabled
  @critical_alerts_enabled
end

#custom_domain_tracking_enabledBoolean (readonly)

Whether custom domain tracking is enabled

Returns:

  • the current value of custom_domain_tracking_enabled



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def custom_domain_tracking_enabled
  @custom_domain_tracking_enabled
end

#demoBoolean (readonly)

Whether the sending domain is a demo domain

Returns:

  • the current value of demo



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def demo
  @demo
end

#dns_recordsArray (readonly)

The DNS records for the sending domain

Returns:

  • the current value of dns_records



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def dns_records
  @dns_records
end

#dns_verifiedBoolean (readonly)

Whether the DNS records are verified

Returns:

  • the current value of dns_verified



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def dns_verified
  @dns_verified
end

#dns_verified_atString? (readonly)

The timestamp when DNS was verified

Returns:

  • the current value of dns_verified_at



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def dns_verified_at
  @dns_verified_at
end

#domain_nameString (readonly)

The sending domain name

Returns:

  • the current value of domain_name



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def domain_name
  @domain_name
end

#health_alerts_enabledBoolean (readonly)

Whether health alerts are enabled

Returns:

  • the current value of health_alerts_enabled



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def health_alerts_enabled
  @health_alerts_enabled
end

#idInteger (readonly)

The sending domain ID

Returns:

  • the current value of id



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def id
  @id
end

#open_tracking_enabledBoolean (readonly)

Whether open tracking is enabled

Returns:

  • the current value of open_tracking_enabled



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def open_tracking_enabled
  @open_tracking_enabled
end

#permissionsHash (readonly)

The permissions for the sending domain

Returns:

  • the current value of permissions



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def permissions
  @permissions
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • the current value of updated_at



22
23
24
# File 'lib/mailtrap/sending_domain.rb', line 22

def updated_at
  @updated_at
end