Skip to content

Commit

Permalink
rename: post method from get for HTTP POST calls
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Feb 16, 2023
1 parent 5a40c24 commit efc50be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sumologic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize(access_id=nil, access_key=nil, endpoint=SumoLogic::URL)
end
end

def get(path, params={})
def post(path, params={})
@http.post do |req|
req.url path
req.body = params unless params.empty?
Expand Down

0 comments on commit efc50be

Please sign in to comment.