Sha256: 7aff68e94300580295b22ede45ef7822d49d74c5ec14350014ce83ac85a6627b
Contents?: true
Size: 194 Bytes
Versions: 3
Compression:
Stored size: 194 Bytes
Contents
module ApiClient::Parser def _response(response) begin body = JSON.parse(response.body) rescue JSON::ParserError body = nil end return response.code, body end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
api-client-1.2.0 | lib/api-client/parser.rb |
api-client-1.1.1 | lib/api-client/parser.rb |
api-client-1.1.0 | lib/api-client/parser.rb |