Class: LogStash::Config::SourceLoader::FailedFetch

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/config/source_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject (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

Returns:

  • (Boolean)


30
31
32
# File 'lib/logstash/config/source_loader.rb', line 30

def success?
  false
end