Sha256: faf4bcbaf79fb61031a1592296436c9dbdf8ad819462fdd6167f76250752cb16
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module StatusCat module Checkers class SendHub < Base def initialize @value = ENV[ 'SEND_HUB_NUMBER' ] @status = fail_on_exception do send_hub = ::SendHub.new( ENV[ 'SEND_HUB_API_KEY' ], ENV[ 'SEND_HUB_NUMBER' ] ) send_hub.get_contacts ? nil : 'fail' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
status_cat-0.1.1 | lib/status_cat/checkers/send_hub.rb |