class OmniAuth::Strategies::Qiita::AccessToken
Public Class Methods
from_hash_with_token(client, hash)
click to toggle source
# File lib/omniauth/strategies/qiita/access_token.rb, line 6 def from_hash_with_token(client, hash) if hash['token'] new(client, hash.delete('token') || hash.delete(:token), hash) else orig_from_hash end end
Also aliased as: from_hash