# File lib/aws/iam/group_collection.rb, line 59 def create(name, options = {}) client_opts = { :group_name => name }.merge(options) if path = client_opts[:path] client_opts[:path] = "/#{path}/". sub(%r{^//}, "/"). sub(%r{//$}, "/") end resp = client.create_group(client_opts) Group.new(resp.group.group_name, :config => config) end