Sha256: d681f197299d551c6116deaadcfe64adb1b1303115573e00188f6213c163cf3d
Contents?: true
Size: 387 Bytes
Versions: 8
Compression:
Stored size: 387 Bytes
Contents
class Custom::TokenValidationsController < DeviseTokenAuth::TokenValidationsController def validate_token super do |resource| @validate_token_block_called = true unless resource.nil? end end def validate_token_block_called? @validate_token_block_called == true end protected def render_validate_token_success render json: {custom: "foo"} end end
Version data entries
8 entries across 8 versions & 2 rubygems