class OTX::NIDS

Public Instance Methods

get_general(nid) click to toggle source
# File lib/otx_ruby/nids.rb, line 3
def get_general(nid)
  uri = "/api/v1/indicators/nids/#{nid}/general"

  json_data = get(uri)

  general = OTX::Indicator::IP::General.new(json_data)

  return general
end