Exception: RippleRest::ProtocolError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ripple-rest/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ProtocolError


5
6
7
8
# File 'lib/ripple-rest/errors.rb', line 5

def initialize message, response
  super message
  @response = response
end

Instance Attribute Details

#responseRestClient::Response


4
5
6
# File 'lib/ripple-rest/errors.rb', line 4

def response
  @response
end