Class: NeverBounce::API::Response::SingleCheck
- Inherits:
-
SuccessMessage
- Object
- Base
- Container
- Message
- StatusMessage
- SuccessMessage
- NeverBounce::API::Response::SingleCheck
- Defined in:
- lib/never_bounce/api/response/single_check.rb
Instance Attribute Summary collapse
- #address_info ⇒ AddressInfo?
- #credits_info ⇒ CreditsInfo::Monthly, ...
- #flags ⇒ String
- #result ⇒ String
- #suggested_correction ⇒ String
Attributes inherited from StatusMessage
Attributes inherited from Container
Instance Method Summary collapse
-
#address_info? ⇒ Boolean
true
if #address_info is present. -
#credits_info? ⇒ Boolean
true
if #credits_info is present.
Methods inherited from SuccessMessage
Methods inherited from Message
Methods inherited from Container
Instance Attribute Details
#address_info ⇒ AddressInfo?
25 |
# File 'lib/never_bounce/api/response/single_check.rb', line 25 oattr :address_info, :writer |
#credits_info ⇒ CreditsInfo::Monthly, ...
31 |
# File 'lib/never_bounce/api/response/single_check.rb', line 31 oattr :credits_info, :writer |
#flags ⇒ String
12 |
# File 'lib/never_bounce/api/response/single_check.rb', line 12 oattr :flags, :scalar |
#result ⇒ String
16 |
# File 'lib/never_bounce/api/response/single_check.rb', line 16 oattr :result, :scalar |
#suggested_correction ⇒ String
20 |
# File 'lib/never_bounce/api/response/single_check.rb', line 20 oattr :suggested_correction, :scalar |
Instance Method Details
#address_info? ⇒ Boolean
true
if #address_info is present.
42 43 44 |
# File 'lib/never_bounce/api/response/single_check.rb', line 42 def address_info? !address_info.nil? end |
#credits_info? ⇒ Boolean
true
if #credits_info is present.
64 65 66 |
# File 'lib/never_bounce/api/response/single_check.rb', line 64 def credits_info? !credits_info.nil? end |