Sha256: 6578c88c73e7f5ced5ebb52cbffe72bf5756d4a420ca472c1a1f4ab0abe5c3e3

Contents?: true

Size: 237 Bytes

Versions: 4

Compression:

Stored size: 237 Bytes

Contents

require "luka_logger/version"

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
luka_logger-0.1.4 lib/luka_logger.rb
luka_logger-0.1.3 lib/luka_logger.rb
luka_logger-0.1.2 lib/luka_logger.rb
luka_logger-0.1.1 lib/luka_logger.rb