Module: Tinytokenauth
- Defined in:
- lib/tinytokenauth.rb,
lib/tinytokenauth/railtie.rb,
lib/tinytokenauth/version.rb,
lib/tinytokenauth/authorizable.rb,
lib/tinytokenauth/view_helpers.rb,
lib/tinytokenauth/configuration.rb,
lib/tinytokenauth/json_web_token.rb
Defined Under Namespace
Modules: Authorizable, ViewHelpers
Classes: Configuration, JsonWebToken, Railtie
Constant Summary
collapse
- VERSION =
"0.90.3"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
4
5
6
|
# File 'lib/tinytokenauth/authorizable.rb', line 4
def configuration
@configuration ||= Configuration.new
end
|
8
9
10
|
# File 'lib/tinytokenauth/authorizable.rb', line 8
def configure
yield(configuration)
end
|