Sha256: bcbc3e246af5cf18926234999fa35d75674aff5267a9c13764e1a455770adddf
Contents?: true
Size: 388 Bytes
Versions: 7
Compression:
Stored size: 388 Bytes
Contents
# frozen_string_literal: true module SecurityTrails module Clients class IPs < Client def explore(ipaddress) get("/ips/nearby/#{ipaddress}") { |json| json } end def search(query) post("/ips/list", query: query) { |json| json } end def stats(query) post("/ips/stats", query: query) { |json| json } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems