Sha256: 42942d0358552d41572f6613c2a0e74984f0e7399f3ebbdaf46ddab36acc8b5f
Contents?: true
Size: 770 Bytes
Versions: 5
Compression:
Stored size: 770 Bytes
Contents
# frozen_string_literal: true module SolidusBolt module MerchantConfiguration class GetCallbackUrlsService < SolidusBolt::BaseService attr_reader :oauth_redirect, :oauth_logout, :get_account def call get_callbacks end private def get_callbacks # rubocop:disable Naming/AccessorMethodName url = "#{api_base_url}/#{api_version}/merchant/callbacks" handle_result( HTTParty.get( url, headers: headers, query: query ) ) end def query { division_id: @config.division_public_id } end def headers { 'Content-Type' => 'application/json', }.merge(authentication_header) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems