Class: LogStash::Config::SourceLoader::FailedFetch
- Inherits:
-
Object
- Object
- LogStash::Config::SourceLoader::FailedFetch
- Defined in:
- lib/logstash/config/source_loader.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ FailedFetch
constructor
A new instance of FailedFetch.
- #success? ⇒ Boolean
Constructor Details
#initialize(error) ⇒ FailedFetch
Returns a new instance of FailedFetch.
26 27 28 |
# File 'lib/logstash/config/source_loader.rb', line 26 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
24 25 26 |
# File 'lib/logstash/config/source_loader.rb', line 24 def error @error end |
Instance Method Details
#success? ⇒ Boolean
30 31 32 |
# File 'lib/logstash/config/source_loader.rb', line 30 def success? false end |