aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-02 19:33:54 +0100
committerJochen Topf <jochen@topf.org>2013-01-02 19:33:54 +0100
commit387d3cfb7c150591f167bae16ca7f7128062aed8 (patch)
tree2695534b5ec3eb94a29d5e1fb9e2a352f9c32a80 /examples
parent4ddaaeb4d6acb9d48be3ca48cc18daff7191fa8d (diff)
downloadtaginfo-387d3cfb7c150591f167bae16ca7f7128062aed8.tar
taginfo-387d3cfb7c150591f167bae16ca7f7128062aed8.tar.gz
Move paging parameter handling into new class
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/tapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tapi b/examples/tapi
index 651b267..cb37c03 100755
--- a/examples/tapi
+++ b/examples/tapi
@@ -45,10 +45,10 @@ def api_call(path, params)
end
if result.code != '200'
STDERR.puts "#{result.code} #{result.message}"
+ STDERR.puts result.body
exit 1
end
-# puts result.body
puts JSON.pretty_generate(JSON.parse(result.body))
end