Sha256: 8445dc5b5833b303feacb0d3195e44a2c7b9333f3a83a2806a6cfb022f8eaa87
Contents?: true
Size: 477 Bytes
Versions: 2
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module Osakana class Monitor def self.check_newly_domains(keyword) websites = DNPedia.search(keyword) attachements = websites.map(&:to_attachement) Notifier.notify("DNPedia keyword: #{keyword}", attachements) end def self.censys_lookup(query) websites = Censys.lookup(query) attachements = websites.map(&:to_attachement) Notifier.notify("Censys query: #{query}", attachements) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
osakana-0.1.1 | lib/osakana/monitor.rb |
osakana-0.1.0 | lib/osakana/monitor.rb |