Class: Mailtrap::CompanyInfo
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::CompanyInfo
- Defined in:
- lib/mailtrap/company_info.rb
Overview
Data Transfer Object for Sending Domain Company Info
Instance Attribute Summary collapse
-
#address ⇒ String?
readonly
Street address.
-
#city ⇒ String?
readonly
City.
-
#country ⇒ String?
readonly
Country.
-
#info_level ⇒ String?
readonly
Whether the sender is a “business” or “individual”.
-
#name ⇒ String?
readonly
Company or individual name.
-
#phone ⇒ String?
readonly
Phone number.
-
#privacy_policy_url ⇒ String?
readonly
URL to the privacy policy page.
-
#terms_of_service_url ⇒ String?
readonly
URL to the terms of service page.
-
#website_url ⇒ String?
readonly
Company website URL or LinkedIn / personal website.
-
#zip_code ⇒ String?
readonly
ZIP or postal code.
Instance Attribute Details
#address ⇒ String? (readonly)
Street address
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def address @address end |
#city ⇒ String? (readonly)
City
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def city @city end |
#country ⇒ String? (readonly)
Country
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def country @country end |
#info_level ⇒ String? (readonly)
Whether the sender is a “business” or “individual”
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def info_level @info_level end |
#name ⇒ String? (readonly)
Company or individual name
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def name @name end |
#phone ⇒ String? (readonly)
Phone number
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def phone @phone end |
#privacy_policy_url ⇒ String? (readonly)
URL to the privacy policy page
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def privacy_policy_url @privacy_policy_url end |
#terms_of_service_url ⇒ String? (readonly)
URL to the terms of service page
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def terms_of_service_url @terms_of_service_url end |
#website_url ⇒ String? (readonly)
Company website URL or LinkedIn / personal website
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def website_url @website_url end |
#zip_code ⇒ String? (readonly)
ZIP or postal code
16 17 18 |
# File 'lib/mailtrap/company_info.rb', line 16 def zip_code @zip_code end |