Sha256: b27faf8fd3b8075449c5bb5413b493c623f8dd8cd2c3f047e2e4f58fffa14e3d
Contents?: true
Size: 261 Bytes
Versions: 7
Compression:
Stored size: 261 Bytes
Contents
# coding: utf-8 # # Interface for the Imgur API # module Imgurr class ImgurErrors class << self def handle_error(response) data = JSON.parse(response) "Imgur Error: #{data['data']['error']} (#{data['status']})" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems