lib/pt/client.rb in pt-0.6.1 vs lib/pt/client.rb in pt-0.6.2
- old
+ new
@@ -117,6 +117,11 @@
def create_task(project, name, owner, requester, task_type)
project.stories.create(:name => name, :owned_by => owner, :requested_by => requester, :story_type => task_type)
end
+ def create_task_with_description(project, name, owner, requester, task_type, description)
+ project.stories.create(:name => name, :owned_by => owner, :requested_by => requester, :story_type => task_type, :description => description)
+ end
+
+
end