Sha256: e45d8499bc90a76f5752ace2212418ffd46e7f8d38e1bc1fc1d3ecef3cab74dc
Contents?: true
Size: 399 Bytes
Versions: 4
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true module Miteru class Feeds class PhishingDatabase < Base def initialize(base_url = "https://raw.githubusercontent.com") super end def urls text.lines.map(&:chomp) end private def text get("/mitchellkrogza/Phishing.Database/master/phishing-links-ACTIVE-NOW.txt").body.to_s end end end end
Version data entries
4 entries across 4 versions & 1 rubygems