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.



25
26
27
# File 'lib/logstash/config/source_loader.rb', line 25

def initialize(error)
  @error = error
end

Instance Attribute Details

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

Returns:

  • (Boolean)


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

def success?
  false
end