Skip to content

Commit

Permalink
Merge pull request #84 from patterninc/make-request-public
Browse files Browse the repository at this point in the history
Make request public
  • Loading branch information
jwilkerson128 authored Dec 13, 2024
2 parents 0484ab2 + db0c93f commit 3fefb0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/muffin_man/sp_api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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?

Expand Down
2 changes: 1 addition & 1 deletion lib/muffin_man/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module MuffinMan
VERSION = "2.4.8"
VERSION = "2.4.9"
end

0 comments on commit 3fefb0e

Please sign in to comment.