Class: Mdm::Enrollment::EnrollmentController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Mdm::Enrollment::EnrollmentController
- Defined in:
- app/controllers/mdm/enrollment/enrollment_controller.rb
Instance Method Summary collapse
Instance Method Details
#checkin ⇒ Object
14 15 16 17 18 19 20 |
# File 'app/controllers/mdm/enrollment/enrollment_controller.rb', line 14 def checkin if params[:MessageType] == 'TokenUpdate' device_token_update end render nothing: true end |
#enroll ⇒ Object
7 8 9 10 11 12 |
# File 'app/controllers/mdm/enrollment/enrollment_controller.rb', line 7 def enroll send_file Configuration.configuration_profile, { disposition: 'attachment', filename: 'Enroll.mobileconfig' } end |