Sha256: 9eeb9026585ac2ad867da6ca213c193ad01796e1a691203d5a066d0576e9db7c

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

require 'enviado/version'

module Enviado
  ENVOY_PATH = File.expand_path("../ext/#{RUBY_PLATFORM}/envoy", __FILE__)

  class << self
    def start(config_path:)
      pid = spawn("#{ENVOY_PATH} -c #{config_path}")
      sleep 5 # for good measure! ;)
      pid
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enviado-0.0.1 lib/enviado.rb