Class: Miteru::Notifiers::UrlScan
- Defined in:
- lib/miteru/notifiers/urlscan.rb
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Service
Instance Method Details
#call(kit) ⇒ Object
9 10 11 12 13 |
# File 'lib/miteru/notifiers/urlscan.rb', line 9 def call(kit) return unless callable? submit(kit.decoded_url, source: kit.source) end |
#callable? ⇒ Boolean
15 16 17 |
# File 'lib/miteru/notifiers/urlscan.rb', line 15 def callable? !Miteru.config.urlscan_api_key.nil? end |