Skip to content

Commit

Permalink
style: SumoLogic::Client::post: rename param for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Feb 16, 2023
1 parent efc50be commit 0ddeb1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sumologic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def initialize(access_id=nil, access_key=nil, endpoint=SumoLogic::URL)
end
end

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

Expand Down

0 comments on commit 0ddeb1f

Please sign in to comment.