Class: OmniAuth::Strategies::Ohloh
- Inherits:
-
OAuth
- Object
- OAuth
- OmniAuth::Strategies::Ohloh
- Defined in:
- lib/omniauth/strategies/ohloh.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
31 32 33 |
# File 'lib/omniauth/strategies/ohloh.rb', line 31 def raw_info @raw_info ||= Hash[REXML::Document.new(access_token.get('/accounts/me.xml').body).root.get_elements('/response/result/account').first.elements.collect{|n| [n.name,n.text]}] end |