class OTX::CorrelationRule

Public Instance Methods

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

  json_data = get(uri)

  general = OTX::Indicator::CorrelationRule.new(json_data)

  return general
end