class AuPair::AuthenticationToken
Public Class Methods
valid?(key, vendor)
click to toggle source
# File lib/au_pair/authentication_token.rb, line 3 def self.valid?(key, vendor) return true if AuPair.authentication_disabled? return false unless key AuPair.tokens[vendor] == key end