glitchier-soc/app/views/api/apps/create.rabl
2016-09-26 23:56:53 +02:00

4 lines
119 B
Ruby

object @app
attributes :id, :redirect_uri
node(:client_id) { |app| app.uid }
node(:client_secret) { |app| app.secret }