Sha256: 92559570c2f9173aecee8e35f72b15621c2f94c104508f0ee943b11c6c637f41

Contents?: true

Size: 180 Bytes

Versions: 1

Compression:

Stored size: 180 Bytes

Contents

require "json"

module Bickle
  class ResponseParser
    def self.parse(data)
      JSON.parse(data)
    rescue => e
      raise InvalidResponseError, e.message
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bickle-0.0.1 lib/bickle/response_parser.rb