Class: LogStash::Config::SourceLoader::SuccessfulFetch

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ SuccessfulFetch

Returns a new instance of SuccessfulFetch.



13
14
15
# File 'lib/logstash/config/source_loader.rb', line 13

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



11
12
13
# File 'lib/logstash/config/source_loader.rb', line 11

def response
  @response
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/logstash/config/source_loader.rb', line 17

def success?
  true
end