Module: TowerdataEmail::ConnectionData
- Included in:
- Demographics, Email, Postal
- Defined in:
- lib/towerdata_email.rb
Constant Summary collapse
- UNSUPPORTED_ATTR =
['domain_type', 'role', 'plus4']
Instance Attribute Summary collapse
-
#ok ⇒ Object
(also: #ok?)
Returns the value of attribute ok.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
-
#status_desc ⇒ Object
Returns the value of attribute status_desc.
Instance Method Summary collapse
Instance Attribute Details
#ok ⇒ Object Also known as: ok?
Returns the value of attribute ok.
64 65 66 |
# File 'lib/towerdata_email.rb', line 64 def ok @ok end |
#status_code ⇒ Object
Returns the value of attribute status_code.
64 65 66 |
# File 'lib/towerdata_email.rb', line 64 def status_code @status_code end |
#status_desc ⇒ Object
Returns the value of attribute status_desc.
64 65 66 |
# File 'lib/towerdata_email.rb', line 64 def status_desc @status_desc end |
Instance Method Details
#incorrect? ⇒ Boolean
68 69 70 |
# File 'lib/towerdata_email.rb', line 68 def incorrect? !ok? end |
#time_out? ⇒ Boolean
72 73 74 |
# File 'lib/towerdata_email.rb', line 72 def time_out? status_code == 5 end |