Sha256: d34dc4c54d22d3479c6917a8d785c89429194a90b32a7a0cc5db8627a5870ce3
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
module Aggro # Public: Makes requests against a given endpoint returning parsed responses. class Client def initialize(endpoint) @transport_client = Aggro.transport.client(endpoint) end def disconnect! @transport_client.close_socket end def post(message) MessageParser.parse @transport_client.post message end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aggro-0.0.4 | lib/aggro/client.rb |