module VirusTotal::Client::Action::Relationships
Public Instance Methods
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/virustotal/clients/actions/relationships.rb, line 11 def method_missing(method, *args) if relationships.include?(method) id = to_id(args.first) params = args.length == 2 ? args[1] : {} _get("/#{name}/#{id}/#{method}", params) { |json| json } else super end end
relationships()
click to toggle source
# File lib/virustotal/clients/actions/relationships.rb, line 7 def relationships [] end
respond_to_missing?(method_name, *)
click to toggle source
# File lib/virustotal/clients/actions/relationships.rb, line 22 def respond_to_missing?(method_name, *) relationships.include? method_name end