class Hash

PivotalTracker has a bug in API v3 that breaks ActiveResource For more info, see community.pivotaltracker.com/pivotal/topics/activeresource_client_throws_error

Public Class Methods

from_xml(xml) click to toggle source
# File lib/pivotal_to_pdf/pt-workarounds.rb, line 7
def from_xml(xml)
  scrubbed = scrub_attributes(xml)
  from_xml_original(scrubbed)
end
Also aliased as: from_xml_original
from_xml_original(xml)
Alias for: from_xml
scrub_attributes(xml) click to toggle source
# File lib/pivotal_to_pdf/pt-workarounds.rb, line 11
def scrub_attributes(xml)
  xml.gsub(/<stories.*>/, "<stories type=\"array\">")
end