Class: TestReportController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- BarkestCore::ApplicationControllerBase
- ApplicationController
- TestReportController
- Defined in:
- app/controllers/test_report_controller.rb
Instance Method Summary collapse
-
#csv ⇒ Object
Test result: “Code,Name,Email,Date of Birth,Hire Date,Pay Rate,HoursnSMIJOH,John Smith,[email protected],1980-01-01 00:00:00 UTC,2010-05-01 00:00:00 UTC,15.5,2260n”.
- #index ⇒ Object
- #pdf ⇒ Object
- #xlsx ⇒ Object
Methods inherited from BarkestCore::ApplicationControllerBase
#authorize!, #show_denial_reason?
Methods included from BarkestCore::StatusHelper
#clear_system_status, #show_system_status, #status_button_label, #status_redirect_url
Methods included from BarkestCore::RecaptchaHelper
#add_recaptcha_challenge, #verify_recaptcha_challenge
Methods included from BarkestCore::SessionsHelper
#current_user, #current_user?, #forget, #log_in, #log_out, #logged_in?, #redirect_back_or, #remember, #store_location, #store_location_and_redirect_to, #system_admin?
Instance Method Details
#csv ⇒ Object
Test result: “Code,Name,Email,Date of Birth,Hire Date,Pay Rate,HoursnSMIJOH,John Smith,[email protected],1980-01-01 00:00:00 UTC,2010-05-01 00:00:00 UTC,15.5,2260n”
19 20 21 |
# File 'app/controllers/test_report_controller.rb', line 19 def csv render formats: [ :csv ] end |
#index ⇒ Object
14 15 16 |
# File 'app/controllers/test_report_controller.rb', line 14 def index end |
#pdf ⇒ Object
27 28 29 |
# File 'app/controllers/test_report_controller.rb', line 27 def pdf render formats: [ :pdf ] end |
#xlsx ⇒ Object
23 24 25 |
# File 'app/controllers/test_report_controller.rb', line 23 def xlsx render formats: [ :xlsx ] end |