Exception: RoxClient::RSpec::Server::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/rox-client-rspec/server.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, response = nil) ⇒ Error

Returns a new instance of Error.



12
13
14
15
# File 'lib/rox-client-rspec/server.rb', line 12

def initialize msg, response = nil
  super msg
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



10
11
12
# File 'lib/rox-client-rspec/server.rb', line 10

def response
  @response
end