开发者

Simplest Ruby code for SQS request signing?

开发者 https://www.devze.com 2023-02-12 00:30 出处:网络
I am working in the cool but very constrained environment of Tropo (cloud telephony) Ruby scripting. The entire app is a single JRuby file. No gems, no requires.

I am working in the cool but very constrained environment of Tropo (cloud telephony) Ruby scripting. The entire app is a single JRuby file. No gems, no requires.

I need t开发者_运维问答o send simple messages to a single SQS queue. I don't need to do any other SQS operations. Before I start pulling code out of existing gems to do this, I wanted to see if anyone has standalone code for sending SQS messages or code that does the HTTP request signing that SQS requires.


We ended up going with the following super-simple code to post a message to an SQS queue that already exists. No gems required.

super_simple_sqs.rb

0

精彩评论

暂无评论...
验证码 换一张
取 消