Class: OmniAuth::Strategies::Mavenlink

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/mavenlink.rb

Instance Method Summary collapse

Instance Method Details

#parsed_infoObject



41
42
43
# File 'lib/omniauth/strategies/mavenlink.rb', line 41

def parsed_info
  @parsed_info = raw_info['users'].values.first
end

#raw_infoObject



37
38
39
# File 'lib/omniauth/strategies/mavenlink.rb', line 37

def raw_info
	@raw_info ||= access_token.get('https://api.mavenlink.com/api/v1/users/me.json').parsed
end