Method: Transfluent::Api#hello
- Defined in:
- lib/transfluent/api.rb
#hello(world) ⇒ string
Echoes back the parameter prepended with Hello
62 63 64 65 66 |
# File 'lib/transfluent/api.rb', line 62 def hello world response = Net::HTTP.get(api_uri("/hello/" + world)) parse_response response end |