Sha256: e08c235e84c85adfd844f9f97dad402a5e9f534e1ca912dfba3f26ec4dd06a96
Contents?: true
Size: 403 Bytes
Versions: 7
Compression:
Stored size: 403 Bytes
Contents
module WhurlEngine EXTENSIONS = [] AUTHORIZATION_ADAPTERS = {} # Extend WhurlEngine # # The extension may define various adapters (e.g., for authorization) and # register those via the options hash. def self.add_extension(extension_key, extension_definition) EXTENSIONS << extension_key AUTHORIZATION_ADAPTERS[extension_key] = extension_definition::AuthorizationAdapter end end
Version data entries
7 entries across 7 versions & 1 rubygems