Skip to content

Commit

Permalink
fix POST/PUT operations (fix #12)
Browse files Browse the repository at this point in the history
  • Loading branch information
maruTA-bis5 committed Jan 23, 2018
1 parent b8d3aab commit eb1a246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mattermost/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ def get(path, options = {}, &block)
end

def post(path, options = {}, &block)
self.class.get(path, options, &block)
self.class.post(path, options, &block)
end

def put(path, options = {}, &block)
self.class.get(path, options, &block)
self.class.put(path, options, &block)
end

def delete(path, options = {}, &block)
Expand Down

0 comments on commit eb1a246

Please sign in to comment.