Sha256: f98c787479a89c2d32392875f784ce5f3be9c421ff26565cc00a0e949bb19ab0

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

require "luka_logger/version"

module LukaLogger
  class Error < StandardError; end
  # Your code goes here...
  def send(data, server_port)
    RestClient.post("http://localhost:#{server_port}", data.to_json, headers={})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
luka_logger-0.1.0 lib/luka_logger.rb