This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /app/admin/api_key.rb | |
ActiveAdmin.register ApiKey do | |
include UserFilter | |
controller do | |
def permitted_params | |
params.permit! | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class Client { | |
Success = 'Success'; | |
Error = 'Error'; | |
async getData(path) { | |
let fullPath = path; | |
const result = await fetch(fullPath, { | |
method: 'GET', | |
headers: { | |
Accept: 'application/json', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery JavaScript Library v3.7.0 | |
* https://jquery.com/ | |
* | |
* Copyright OpenJS Foundation and other contributors | |
* Released under the MIT license | |
* https://jquery.org/license | |
* | |
* Date: 2023-05-11T18:29Z | |
*/ |
OlderNewer