logstash/logstash — pull request #186 by rurounijones (2012-08-14 06:45:00+00:00)
Title: Add getters and setters for source_host and source_path

Add getters and setters for source_host and source_path on LogStash::Event so that they can be set directly on the event without having to pass a URL into the "source" attribute. Useful for situations where the user wishes to set these directly

The tests regarding event seem to be mainly for sprintf stuff and no tests exist for getters and setters so I was not sure if I should add tests for these two.