class Knowbe4Hiring::Jobs

this class returns the jobs json

Public Class Methods

all() click to toggle source
# File lib/knowbe4_hiring/jobs.rb, line 4
def self.all
  file = File.read("#{__dir__}/jobs.json")
  JSON.parse(file, symbolize_names: true).map { |j| Job.new(j) }
end