Class: Auth::EndpointsController
Constant Summary
collapse
- CONDITIONS_FOR_TOKEN_AUTH =
[:create,:update,:destroy,:edit,:new,:index]
- TCONDITIONS =
{:only => CONDITIONS_FOR_TOKEN_AUTH}
Instance Method Summary
collapse
#authenticate_resource!, #check_for_create, #check_for_destroy, #check_for_update, #from_bson, #from_view, #not_found
Instance Method Details
#create ⇒ Object
11
12
13
|
# File 'app/controllers/auth/endpoints_controller.rb', line 11
def create
end
|
#permitted_params ⇒ Object
15
16
17
|
# File 'app/controllers/auth/endpoints_controller.rb', line 15
def permitted_params
params.require(:endpoint).permit(:android_token,:ios_token)
end
|