slenky / puppet-notifier

Custom Puppet report handler for Skype, Slack and Telegram.
https://forge.puppet.com/slenky/notifier
0 stars 1 forks source link

remove rest client and use ruby's core http api instead #2

Open logicminds opened 6 years ago

logicminds commented 6 years ago

Rest client is a heavy library, and with 10 lines of code you can accomplish the same thing with the http lib.

You can do a quick conversion with this site: https://jhawthorn.github.io/curl-to-ruby

slenky commented 6 years ago

Hi logicminds, thank you for your submissions!

As far as I remember I had some issues with net/http during sending requests to Botframework API. Got it working only with REST unfortunately