lib/catsocket_client/publisher.rb in catsocket_client-0.0.1 vs lib/catsocket_client/publisher.rb in catsocket_client-0.0.2

- old
+ new

@@ -2,10 +2,10 @@ module CatsocketClient class Publisher < Struct.new(:url, :api_key) def publish(channel, data) - RestClient.post(url, channel: channel, data: data ) + RestClient.post(url, guid: 0, api_key: api_key, channel: channel, data: data ) end end end