blob: 15bbd04b03884f9704ce381fc962eb01a8256517 (
plain)
1
2
3
4
5
6
7
8
|
class Api::SignUps::Create < ApiAction
include Api::Auth::SkipRequireAuthToken
post "/api/sign_ups" do
user = SignUpUser.create!(params)
json({token: UserToken.generate(user)})
end
end
|