Sha256: 8997aef39a8fe80d810654668c6e794c77413a7f85ccdbfec90c19e1983237cd
Contents?: true
Size: 430 Bytes
Versions: 6
Compression:
Stored size: 430 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
6 entries across 6 versions & 1 rubygems