Sha256: bc0d7d59e4a1d68b32c467d66fabb29be81296a0ac20133d31a5f544b5b39f0a
Contents?: true
Size: 401 Bytes
Versions: 17
Compression:
Stored size: 401 Bytes
Contents
require 'action_controller' require 'simple_token_authentication/adapter' module SimpleTokenAuthentication module Adapters class RailsAPIAdapter extend SimpleTokenAuthentication::Adapter def self.base_class ::ActionController::API end end # make the adpater available even if the 'API' acronym is not defined RailsApiAdapter = RailsAPIAdapter end end
Version data entries
17 entries across 17 versions & 2 rubygems