module Toll
Constants
- VERSION
Public Class Methods
setup() { |self| ... }
click to toggle source
Method to configure Toll
# File lib/toll.rb, line 16 def self.setup yield self end
token(length = Toll.authentication_token_length)
click to toggle source
Method to generate a Token
# File lib/toll.rb, line 22 def self.token(length = Toll.authentication_token_length) SecureRandom.urlsafe_base64(length) end