From 76b59249af401a9882af530c8ea30c0a56325a59 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 8 Sep 2015 17:01:26 +0200 Subject: [PATCH] Improved doc. --- lib/user_agent.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/user_agent.rb b/lib/user_agent.rb index 40095986e..2f7df11cb 100644 --- a/lib/user_agent.rb +++ b/lib/user_agent.rb @@ -24,6 +24,10 @@ get http/https calls }, ) +returns + + result.body # as response + get json object result = UserAgent.get(