lib/chatopsify/co.rb in chatopsify-0.0.1 vs lib/chatopsify/co.rb in chatopsify-0.0.2

- old
+ new

@@ -1,18 +1,13 @@ # frozen_string_literal: true require 'json' require 'net/http' require 'tzinfo' -require 'pry' module Chatopsify # ChatOps service class Co - # export CHATOPS_URI='https://chat.runsystem.vn/api/v4/posts' - # export CHATOPS_API_KEY='fb20bd4c02dc07c3128d17540083b31b7c936e08b5dd5dc890f3360f7a595d14b974b4552820da7813c8004c74d5775e' - # export CHATOPS_CHANNEL_ID='upbcqf48pfn75p1n7o75n4qt7a' - def initialize(api_key = nil) @api_key = api_key || load_api_key @channel_id = load_channel_id @uri = load_uri end