Class: OmniAuth::Strategies::Hattrick

Inherits:
OAuth
  • Object
show all
Defined in:
lib/omniauth/strategies/hattrick.rb

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



21
22
23
# File 'lib/omniauth/strategies/hattrick.rb', line 21

def raw_info
  @raw_info ||= OmniAuth::Hattrick::XmlParser.new(access_token.get('http://chpp.hattrick.org/chppxml.ashx?file=managercompendium&version=1.0').body).parse 
end