Skip to content
Browse files

Merge branch 'master' of https://github.com/ckdake/pivotal-tracker in…

…to ckdake-master
  • Loading branch information...
2 parents 50f3d79 + 46f20a8 commit 18bbac76d0dbcc4f23a58d8b1ab51040646e2622 @jsmestad jsmestad committed Dec 15, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/pivotal-tracker/story.rb
View
2 lib/pivotal-tracker/story.rb
@@ -41,6 +41,7 @@ def find(param, project_id)
element :jira_url, String
element :other_id, Integer
element :integration_id, Integer
+ element :deadline, DateTime # Only available for Release stories
has_many :attachments, Attachment, :tag => 'attachments'
@@ -128,6 +129,7 @@ def to_xml
xml.integration_id "#{integration_id}"
xml.created_at DateTime.parse(created_at.to_s).to_s if created_at
xml.accepted_at DateTime.parse(accepted_at.to_s).to_s if accepted_at
+ xml.deadline DateTime.parse(deadline.to_s).to_s if deadline
}
end
return builder.to_xml

0 comments on commit 18bbac7

Please sign in to comment.
Something went wrong with that request. Please try again.