lib/backlog_kit/client/group.rb in backlog_kit-0.13.0 vs lib/backlog_kit/client/group.rb in backlog_kit-0.14.0
- old
+ new
@@ -1,11 +1,9 @@
module BacklogKit
class Client
-
# Methods for the Group API
module Group
-
# Get list of groups
#
# @param params [Hash] Request parameters
# @return [BacklogKit::Response] List of groups
def get_groups(params = {})
@@ -24,10 +22,10 @@
#
# @param name [String] Group name
# @param params [Hash] Request parameters
# @return [BacklogKit::Response] The group information
def create_group(name, params = {})
- params.merge!(name: name)
+ params[:name] = name
post('groups', params)
end
# Update a group
#