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)


21
22
23
# File 'lib/lucid_intercom/response.rb', line 21

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

#responseResponse

Returns:



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

param :response