Sha256: 0f18b03bc40169875532d1faad795048530e22e65dc8dd83353c701e77ed1b15
Contents?: true
Size: 233 Bytes
Versions: 5
Compression:
Stored size: 233 Bytes
Contents
module IEX module Errors class ClientError < StandardError attr_reader :response def initialize(response) @response = response super JSON.parse(response[:body])['error'] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems