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.
13 14 15 |
# File 'lib/logstash/config/source_loader.rb', line 13 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (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
17 18 19 |
# File 'lib/logstash/config/source_loader.rb', line 17 def success? true end |