Class: LogStash::Config::SourceLoader::SuccessfulFetch
- Inherits:
-
Object
- Object
- LogStash::Config::SourceLoader::SuccessfulFetch
- Defined in:
- lib/logstash/config/source_loader.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ SuccessfulFetch
constructor
A new instance of SuccessfulFetch.
- #success? ⇒ Boolean
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
#response ⇒ Object (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
18 19 20 |
# File 'lib/logstash/config/source_loader.rb', line 18 def success? true end |