class Miteru::Feeds::PhishingDatabase
Constants
- URL
Public Instance Methods
urls()
click to toggle source
# File lib/miteru/feeds/phishing_database.rb, line 11 def urls body = get(URL) body.to_s.lines.map(&:chomp) rescue HTTPResponseError, HTTP::Error, JSON::ParserError => e puts "Failed to load phishing database feed (#{e})" [] end