Class: OmniAuth::Strategies::ProgicId

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



35
36
37
# File 'lib/omniauth/progic_id.rb', line 35

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



30
31
32
# File 'lib/omniauth/progic_id.rb', line 30

def raw_info
  @raw_info ||= access_token.get('/api/v1/me.json').parsed
end