Sha256: 2fc875bc09a10b7b49dd7d489808cb28a70b4ea5a226bc5467427a35453f34d3
Contents?: true
Size: 407 Bytes
Versions: 10
Compression:
Stored size: 407 Bytes
Contents
module StreamBot # some important code for the communication wrappers class Handler # parse an response def parse_response(object) LOG.debug("response is #{object}") case object when ::Net::HTTPUnauthorized ::File.delete(ACCESS_TOKEN) raise 'user revoked oauth connection' when ::Net::HTTPOK then object.body end end end end
Version data entries
10 entries across 10 versions & 1 rubygems