Files
redux-scraper/app/lib/scraper/http_client_config.rb
2025-01-01 03:29:53 +00:00

41 lines
510 B
Ruby

# typed: true
class Scraper::HttpClientConfig
include HasColorLogger
def cookies
not_implemented!
end
def do_login(performer)
# nop
end
def map_uri(uri)
# nop
uri
end
def scrub_stored_uri(uri)
# nop
uri
end
def ratelimit
not_implemented!
end
def allowed_domains
not_implemented!
end
def redirect_limit
not_implemented!
end
private
def not_implemented!
raise NotImplementedError.new("implement in #{self.class.name}")
end
end