module Foyer::API::Helpers::ClassMethods

Public Instance Methods

set_token_finder(&blk) click to toggle source
# File lib/foyer/api/helpers.rb, line 22
def set_token_finder(&blk) # rubocop:disable Style/AccessorMethodName
  fail ':token_finder must accept 1 argument (token)' unless blk.arity == 1
  Foyer.token_finder = blk
end