Sha256: 4b71012891218423dd4ec16e0c8243bf42375f8a48b96b2a0511a589a213cbe7

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module Onyphe
  module Clients
    class Summary < Client
      def ip(ip)
        get("/summary/ip/#{ip}") { |json| json }
      end

      def domain(domain)
        get("/summary/domain/#{domain}") { |json| json }
      end

      def hostname(hostname)
        get("/summary/hostname/#{hostname}") { |json| json }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
onyphe-2.0.0 lib/onyphe/clients/summary.rb