Sha256: 73459aad14794c80217fc1760157ce4c9355f86c6d30fea7d29608118e2df6fd
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
# frozen_string_literal: true module AuthRails class << self def configure yield Config end def configuration Config end def resource_class @resource_class ||= Config.resource_class end def error_class @error_class ||= Config.error_class || Error end def jwt_strategy @jwt_strategy ||= Configuration::Jwt.strategy || Strategies::BaseStrategy end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auth_rails-1.0.2 | lib/auth_rails/class_methods.rb |
auth_rails-1.0.0 | lib/auth_rails/class_methods.rb |