Exception: RPC::JSON::Client::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rpcjson.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ Error

Returns a new instance of Error.



10
11
12
# File 'lib/rpcjson.rb', line 10

def initialize(error)
  @error = error
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



9
10
11
# File 'lib/rpcjson.rb', line 9

def error
  @error
end