Jean Carlo

Joined

4,760 Experience
47 Lessons Completed
0 Questions Solved

Activity

I make a change to use Sidekiq retry

class SendWebhookJob < ApplicationJob
WebhookNotFound = Class.new(StandardError)

retry_on WebhookNotFound
queue_as :default

MAX_RETRIES = 10

def perform(webhook_url, data)
puts "#{Time.zone.now} : Sending data to #{webhook_url}"

response = HTTP.post(webhook_url, json: data)
successful = response.code == 200 || raise(WebhookNotFound)

end
end

I still have the doubt

Posted in Episode on GraphQL

+1

Posted in Inbound SMS in Rails with Twilio Discussion

Where are you Stuck?

Posted in Inbound SMS in Rails with Twilio Discussion

Yes totally, I did it!

Hi Chris great job! What is the difference of the integration test with the controller test

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.