Exception: Redvine::ConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/redvine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ ConnectionError

Returns a new instance of ConnectionError.



11
12
13
# File 'lib/redvine.rb', line 11

def initialize(code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



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

def code
  @code
end