lib/virustotal/clients/ip_address.rb in virustotalx-1.0.0 vs lib/virustotal/clients/ip_address.rb in virustotalx-1.1.0
- old
+ new
@@ -1,13 +1,17 @@
# frozen_string_literal: true
module VirusTotal
module Client
- class IPAddress < Object
+ class IPAddress < Base
+ include Action::Comments
+ include Action::Get
+ include Action::Relationships
+
private
def relationships
- %w(
+ @relationships ||= %w(
communicating_files
downloaded_files
graphs
historical_whois
referrer_files