Class: Elastictastic::ConnectionFailed
- Defined in:
- lib/elastictastic/errors.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source) ⇒ ConnectionFailed
constructor
A new instance of ConnectionFailed.
Constructor Details
#initialize(source) ⇒ ConnectionFailed
Returns a new instance of ConnectionFailed.
11 12 13 14 |
# File 'lib/elastictastic/errors.rb', line 11 def initialize(source) super(source.) @source = source end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
9 10 11 |
# File 'lib/elastictastic/errors.rb', line 9 def source @source end |