Sha256: 41a9114ba5102215d3b42139b235765f178b108e8be1151ceed84c3c5043dccc
Contents?: true
Size: 432 Bytes
Versions: 8
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true module Custom class RefreshTokenController < DeviseJwtAuth::RefreshTokenController def show super do |resource| @refresh_token_block_called = true unless resource.nil? end end def refresh_token_block_called? @refresh_token_block_called == true end protected def render_refresh_token_success render json: { custom: 'foo' } end end end
Version data entries
8 entries across 8 versions & 3 rubygems