Method: Slash::ConnectionError#initialize
- Defined in:
- lib/slash/exceptions.rb
#initialize(response, message = nil) ⇒ ConnectionError
Returns a new instance of ConnectionError.
5 6 7 8 |
# File 'lib/slash/exceptions.rb', line 5 def initialize(response, = nil) @response = response @message = end |