lib/ribose/cli/commands/space.rb in ribose-cli-0.3.2 vs lib/ribose/cli/commands/space.rb in ribose-cli-0.5.0
- old
+ new
@@ -23,10 +23,10 @@
option :description, desc: "The description for space"
option :category_id, desc: "The category for this space"
option :access, default: "open", desc: "The visiblity for the space"
def add
- space = Ribose::Space.create(symbolize_keys(options))
+ space = Ribose::Space.create(**symbolize_keys(options))
say("New Space created! Id: " + space.id)
end
desc "update", "Update an existing space"
option :space_id, required: true, desc: "The Space UUID"