lib/monday/resources/workspace.rb in monday_ruby-0.6.1 vs lib/monday/resources/workspace.rb in monday_ruby-0.6.2
- old
+ new
@@ -10,21 +10,21 @@
#
# Allows filtering workspaces using the args option.
# Allows customizing the values to retrieve using the select option.
# By default, ID, name and description fields are retrieved.
def workspaces(args: {}, select: DEFAULT_SELECT)
- query = "query { workspaces(#{Util.format_args(args)}) {#{Util.format_select(select)}}}"
+ query = "query { workspaces#{Util.format_args(args)} {#{Util.format_select(select)}}}"
make_request(query)
end
# Creates a new workspaces.
#
# Allows customizing creating a workspace using the args option.
# Allows customizing the values to retrieve using the select option.
# By default, ID, name and description fields are retrieved.
def create_workspace(args: {}, select: DEFAULT_SELECT)
- query = "mutation { create_workspace(#{Util.format_args(args)}) {#{Util.format_select(select)}}}"
+ query = "mutation { create_workspace#{Util.format_args(args)} {#{Util.format_select(select)}}}"
make_request(query)
end
# Deletes a workspace.