class CareersController
Public Instance Methods
index()
click to toggle source
# File lib/nexmo_developer/app/controllers/careers_controller.rb, line 2 def index @careers_by_department = Greenhouse .careers .each_with_object(Hash.new { |h, k| h[k] = [] }) do |career, hash| career.department_codes.each { |code| hash[code] << career } end end