This file contains 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
params.permit(:users => []) |
This file contains 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
<Response> | |
<Pause length="2"/> | |
<Say voice="woman" language="ja-jp">こちらは、ホゲホゲです。ユーザー様より予約がはいりました。管理画面から予約の確認をお願いします。</Say> | |
</Response> |
This file contains 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
class UsersController < ApplicationController | |
# GET /users/ids | |
def ids | |
@users = User.all.order(accessced_at: :desc) | |
render json: @users.pluck(:id) | |
end | |
# GET /users/lookup?ids[]=1&ids[]=2 | |
def lookup |