Class: NeverBounce::API::Response::ErrorMessage

Inherits:
StatusMessage show all
Defined in:
lib/never_bounce/api/response/error_message.rb

Overview

A failure (error) response from the server.

Instance Attribute Summary collapse

Attributes inherited from StatusMessage

#execution_time, #status

Attributes inherited from Container

#body_hash, #raw

Instance Method Summary collapse

Methods inherited from Message

#error?, #ok?

Methods inherited from Container

oattr, scalar_oattr

Instance Attribute Details

#messageString

Returns:

  • (String)


10
# File 'lib/never_bounce/api/response/error_message.rb', line 10

oattr :message, :scalar

Instance Method Details

#success?false

Returns:

  • (false)


13
14
15
# File 'lib/never_bounce/api/response/error_message.rb', line 13

def success?
  false
end