module Slots::JWT::Tests
Public Instance Methods
current_token()
click to toggle source
# File lib/slots/jwt/tests.rb, line 28 def current_token @token end
token_header(token)
click to toggle source
# File lib/slots/jwt/tests.rb, line 32 def token_header(token) {'authorization' => %{Bearer token="#{token}"}} end