Sha256: fc5befc45f4bfc309b3ba5dd63143a10a94f12c1d7f4eee65556d78082ee5902
Contents?: true
Size: 629 Bytes
Versions: 7
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true module SecurityTrails module Clients class Domain < Client def get_by_hostname(hostname) get("/domain/#{hostname}") { |json| json } end def get_subdomains(hostname) get("/domain/#{hostname}/subdomains") { |json| json } end def get_tags(hostname) get("/domain/#{hostname}/tags") { |json| json } end def get_associated_domains(hostname) get("/domain/#{hostname}/associated") { |json| json } end def get_whois(hostname) get("/domain/#{hostname}/whois") { |json| json } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems