I recently needed to interact with a Service Bus queue in Azure using a Ruby on Rails application. However, Azure has completely ceased any maintenance on their old Ruby SDK, so all the API calls and SAS token construction had to be done manually.<p>I figured my pain might benefit others.