module JWTF

Constants

VERSION

Public Class Methods

configure() { |config| ... } click to toggle source
# File lib/jwtf.rb, line 6
def self.configure
  yield(config)
end
generate(params = {}) click to toggle source
# File lib/jwtf.rb, line 10
def self.generate(params = {})
  encoder.call(params)
end

Private Class Methods

config() click to toggle source
# File lib/jwtf.rb, line 17
def config
  @config ||= Configuration.new
end
encoder() click to toggle source
# File lib/jwtf.rb, line 21
def encoder
  @encoder ||= Encode.new(config)
end