Class: OmniAuth::Strategies::ColorMeShop

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



21
22
23
# File 'lib/omniauth/strategies/colormeshop.rb', line 21

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



17
18
19
# File 'lib/omniauth/strategies/colormeshop.rb', line 17

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