class Api::V1::Platform::AccessTokensController
def create
def create @access_token.provisioned = true if @access_token.save render :show, status: :created, location: [:api, :v1, @access_token] else render json: @access_token.errors, status: :unprocessable_entity end end
def destroy
def destroy @access_token.destroy end
def show
def show end
def update
def update if @access_token.update(access_token_params) render :show else render json: @access_token.errors, status: :unprocessable_entity end end