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

.configurationObject



4
5
6
# File 'lib/tinytokenauth/authorizable.rb', line 4

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



8
9
10
# File 'lib/tinytokenauth/authorizable.rb', line 8

def configure
  yield(configuration)
end