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.
25 26 27 |
# File 'lib/logstash/config/source_loader.rb', line 25 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
23 24 25 |
# File 'lib/logstash/config/source_loader.rb', line 23 def error @error end |
Instance Method Details
#success? ⇒ Boolean
29 30 31 |
# File 'lib/logstash/config/source_loader.rb', line 29 def success? false end |