class OmniAuth::Strategies::DrChrono

Public Instance Methods

doctor() click to toggle source
# File lib/omniauth/strategies/drchrono.rb, line 29
def doctor
  @doctor ||= access_token.get("doctors/#{raw_info['doctor']}").parsed
end
offices() click to toggle source
# File lib/omniauth/strategies/drchrono.rb, line 33
def offices
  @offices ||= access_token.get('offices').parsed['results']
end
raw_info() click to toggle source
# File lib/omniauth/strategies/drchrono.rb, line 25
def raw_info
  @raw_info ||= access_token.get('users/current').parsed
end