class OmniAuth::Strategies::TimeTree
Private Instance Methods
callback_url()
click to toggle source
# File lib/omniauth/strategies/timetree.rb, line 27 def callback_url full_host + callback_path end
raw_info()
click to toggle source
# File lib/omniauth/strategies/timetree.rb, line 19 def raw_info return @raw_info if defined?(@raw_info) endpoint = 'https://timetreeapis.com/user' options = {headers: {'Accept' => 'application/vnd.timetree.v1+json'}} @raw_info = access_token.get(endpoint, options).parsed end