This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Back-end: | |
Ruby / Rails: | |
Guides: | |
http://guides.rubyonrails.org/ | |
https://api.rubyonrails.org/ | |
https://apidock.com/ruby/ | |
Books (Free): | |
(pt-BR) https://leanpub.com/conhecendo-ruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Challenge | |
require "json" | |
require "net/http" | |
URL = "https://www.letsrevolutionizetesting.com/challenge.json".freeze | |
MAX_ITERATIONS = 100 | |
def self.call | |
# Initialize id_value with nil to start the loop | |
id_value = nil |
OlderNewer