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.



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

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



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

def response
  @response
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


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

def success?
  true
end