# File lib/oauth2/access_token.rb, line 12 def from_hash(client, hash) self.new(client, hash.delete('access_token') || hash.delete(:access_token), hash) end