Sha256: bb799a4903494e312f115252cc124f7c5515c6e27d356fc19f6b35bdcfa877ce

Contents?: true

Size: 552 Bytes

Versions: 17

Compression:

Stored size: 552 Bytes

Contents

class Oxen::BackgroundJobsController < AbstractResourcesController

  private
    # Use callbacks to share common setup or constraints between actions.
    # def set_account
    #   @account = Account.find(params[:id])
    # end

    # Never trust parameters from the scary internet, only allow the white list through.
    # def account_params
    #   params.require(:account).permit(:name)
    # end

    def resource_params
      params.require(:account).permit(:name, :active, :default_url, :chargeable, :last_charged_at, :free_users )
    end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
oxen_job-0.4.13 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.4.12 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.4.11 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.4.9 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.4.8 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.4.7 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.4.1 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.3.4 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.3.3 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.3.2 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.3.1 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.3.0 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.2.9 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.2.8 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.2.4 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.2.1 app/controllers/oxen/background_jobs_controller.rb
oxen_job-0.0.4 app/controllers/oxen/background_jobs_controller.rb