Sha256: f0a562186a1236fbab1e73421cb9ce52b1af9f7f34a51397fc2289a7ea58494f

Contents?: true

Size: 238 Bytes

Versions: 4

Compression:

Stored size: 238 Bytes

Contents

module JobNotifier
  class JobsController < ActionController::Base
    skip_before_action :verify_authenticity_token

    def index
      jobs = Job.unnotified_by_identifier!(params[:identifier])
      render json: jobs
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
job_notifier-0.2.1 app/controllers/job_notifier/jobs_controller.rb
job_notifier-0.2.0 app/controllers/job_notifier/jobs_controller.rb
job_notifier-0.1.1 app/controllers/job_notifier/jobs_controller.rb
job_notifier-0.1.0 app/controllers/job_notifier/jobs_controller.rb