Top Level Namespace

Defined Under Namespace

Modules: DiscoApp, Embedded, Helpers Classes: ApiResponse, ApplicationJob, ApplicationRecord, EmptySerializer, ErrorSerializer, HomeController, SessionsController

Constant Summary collapse

API_JSON =
'application/vnd.api+json'.freeze
SETUP_PROC =
lambda do |env|
  env['omniauth.strategy'].options[:per_user_permissions] = true
  params = Rack::Utils.parse_query(env['QUERY_STRING'])
  env['omniauth.strategy'].options[:client_options][:site] = "https://#{params['shop']}"
end