Class: OmniAuth::Strategies::Getdrip

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



38
39
40
# File 'lib/omniauth/strategies/getdrip.rb', line 38

def raw_info
  @raw_info ||= JSON.parse(access_token.get("/v2/accounts").body)
end

#user_infoObject



34
35
36
# File 'lib/omniauth/strategies/getdrip.rb', line 34

def 
  @user_info ||= JSON.parse(access_token.get("/v2/user").body)
end