module Controls::Client::Guidance

A module to encapsulate API methods related to guidance @since API v1.0 @version v1.0.0

Public Instance Methods

guidance(name) click to toggle source

@param [String] name the name of the guidance to search for @return [Hash] a hash representing the matching guidance

# File lib/controls/client/guidance.rb, line 11
def guidance(name)
  get "/guidance/#{name}"
end
guidance_by_threat(threat) click to toggle source

@param [String] threat the threat name to search by @return [Array<Hash>] an array of “guidance hashes”

# File lib/controls/client/guidance.rb, line 17
def guidance_by_threat(threat)
  get "/threats/#{threat}/guidance"
end