Sha256: 2c84bf5513e05bb59488a75fbf2103f9462e0e434c193196c5cca7676ff86544

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module GreyNoise
  module Clients
    class Meta < Client
      #
      # Get more information about a given IP address.
      #
      # @param [String] ip an IP address
      #
      # @return [Hash]
      #
      def metadata
        _get("/meta/metadata") { |json| json }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
greynoise-0.1.1 lib/greynoise/clients/meta.rb
greynoise-0.1.0 lib/greynoise/clients/meta.rb