Sha256: 0a18202f7d6f85277d2345653116d58982ea08f054077057402e6d72f017cf9b

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/emissary'

file = File.open ARGV[0]
c_config = JSON.load file

Emissary.configure do |config|
  # usuario transacional para sms instantaneos
  config.server_name = c_config["server_name"]
  config.header_format = c_config["header_format"]
  config.webhooks_url  = c_config["webhooks_url"]
  config.bot_token  = c_config["bot_token"]
  config.trello_public_key = c_config["trello_public_key"]
  config.trello_member_token = c_config["trello_member_token"],
  config.json_file_path = ARGV[0]
end


begin
  puts "====> Emissary is starting..."
  puts "====> Server name #{Emissary.server_name}..."

  emi = Emissary.new
rescue => e
  puts "#{e}"
  exit 1
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emissary-ruby-0.0.7 bin/emissary