diff --git a/lib/muffin_man/sp_api_client.rb b/lib/muffin_man/sp_api_client.rb index 5988b5d..795cf12 100644 --- a/lib/muffin_man/sp_api_client.rb +++ b/lib/muffin_man/sp_api_client.rb @@ -39,6 +39,10 @@ def initialize(credentials, sandbox = false) @config = MuffinMan.configuration end + def request + Typhoeus::Request.new(canonical_uri, params: query_params) + end + private def call_api @@ -73,10 +77,6 @@ def canonical_uri "#{sp_api_url}#{local_var_path}" end - def request - Typhoeus::Request.new(canonical_uri, params: query_params) - end - def retrieve_lwa_access_token return request_lwa_access_token["access_token"] unless use_cache? diff --git a/lib/muffin_man/version.rb b/lib/muffin_man/version.rb index 7e0eb48..7940df0 100644 --- a/lib/muffin_man/version.rb +++ b/lib/muffin_man/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module MuffinMan - VERSION = "2.4.8" + VERSION = "2.4.9" end