Class: TowerdataEmail::Email
- Inherits:
-
Object
- Object
- TowerdataEmail::Email
- Includes:
- ConnectionData
- Defined in:
- lib/towerdata_email.rb
Constant Summary
Constants included from ConnectionData
ConnectionData::UNSUPPORTED_ATTR
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#corrections ⇒ Object
Returns the value of attribute corrections.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#username ⇒ Object
Returns the value of attribute username.
-
#validation_level ⇒ Object
Returns the value of attribute validation_level.
Attributes included from ConnectionData
#ok, #status_code, #status_desc
Instance Method Summary collapse
-
#initialize(email_data) ⇒ Email
constructor
Create a new TowerData::Email.
Methods included from ConnectionData
Constructor Details
#initialize(email_data) ⇒ Email
Create a new TowerData::Email
Arguments:
fields: (HTTParty::Response)
142 143 144 |
# File 'lib/towerdata_email.rb', line 142 def initialize(email_data) set_attributes email_data end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
136 137 138 |
# File 'lib/towerdata_email.rb', line 136 def address @address end |
#corrections ⇒ Object
Returns the value of attribute corrections.
136 137 138 |
# File 'lib/towerdata_email.rb', line 136 def corrections @corrections end |
#domain ⇒ Object
Returns the value of attribute domain.
136 137 138 |
# File 'lib/towerdata_email.rb', line 136 def domain @domain end |
#username ⇒ Object
Returns the value of attribute username.
136 137 138 |
# File 'lib/towerdata_email.rb', line 136 def username @username end |
#validation_level ⇒ Object
Returns the value of attribute validation_level.
136 137 138 |
# File 'lib/towerdata_email.rb', line 136 def validation_level @validation_level end |