Class: Miteru::Feeds::UrlScanPro
- Defined in:
- lib/miteru/feeds/urlscan_pro.rb
Instance Method Summary collapse
Instance Method Details
#api ⇒ Object
8 9 10 |
# File 'lib/miteru/feeds/urlscan_pro.rb', line 8 def api @api ||= ::UrlScan::API.new end |
#urls ⇒ Object
12 13 14 15 16 17 |
# File 'lib/miteru/feeds/urlscan_pro.rb', line 12 def urls urls_from_pro_feed rescue ::UrlScan::ResponseError => e puts "Failed to load urlscan.io pro feed (#{e})" [] end |