Exception: Redvine::ConnectionError
- Defined in:
- lib/redvine.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
9 10 11 |
# File 'lib/redvine.rb', line 9 def code @code end |