#!/usr/bin/env ruby
# take a list of cve and spit out nvd urls for them

class NvdCveUrlGen
  def initialize(cve_ids)
    @cve_ids = cve_ids
  end

  def generate_url
    @cve_ids.map do |cve|
      "https://nvd.nist.gov/vuln/detail/#{cve}"
    end
  end
end