lib/youtrack/resources/project.rb in youtrack-0.0.8 vs lib/youtrack/resources/project.rb in youtrack-0.0.9

- old
+ new

@@ -38,10 +38,10 @@ # projectName string required Full name of a new project. Must be unique. # startingNumber integer required Number to assign to the next manually created issue. # projectLeadLogin string required Login name of a user to be assigned as a project leader. # description string Optional description of the new project def create(attributes={}) - put("admin/project/#{attributes[:projectId]}", body: attributes) + put("admin/project/#{attributes[:projectId]}", query: attributes) response end def destroy(project_id) delete("admin/project/#{project_id}")