Class: LucidIntercom::Response::Error Abstract

Inherits:
Error
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/lucid_intercom/response.rb

Overview

This class is abstract.

Instance Method Summary collapse

Instance Method Details

#messageString

Returns:

  • (String)


19
20
21
# File 'lib/lucid_intercom/response.rb', line 19

def message
  "bad response (#{status_code})"
end

#status_codeInteger

Returns:

  • (Integer)


14
# File 'lib/lucid_intercom/response.rb', line 14

param :status_code