Sha256: 7d6381e7fbe1e79701b1ebf83af9ec94c9a7df75370f3db819c637a57948e9e3

Contents?: true

Size: 288 Bytes

Versions: 34

Compression:

Stored size: 288 Bytes

Contents

# Happymapper patch for RestClient API Change (response => response.body)

module HappyMapper
  module ClassMethods
    alias_method :orig_parse, :parse
    def parse(xml, options={})
      xml = xml.to_s if xml.is_a?(RestClient::Response)
      orig_parse(xml, options)
    end
  end
end

Version data entries

34 entries across 34 versions & 5 rubygems

Version Path
lrd-pivotal-tracker-0.5.14 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.13 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.12 lib/pivotal-tracker/extensions.rb
pivotal-tracker-fox-0.5.13 lib/pivotal-tracker/extensions.rb
pivotal-tracker-fox-0.5.12 lib/pivotal-tracker/extensions.rb
pivotal-tracker-fox-0.5.11 lib/pivotal-tracker/extensions.rb
pivotal-tracker-fox-0.5.10 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.10 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.9 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.8 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.7 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.6 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.5 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.4 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.3 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.5.0 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.4.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.4.0 lib/pivotal-tracker/extensions.rb
tsenart-pivotal-tracker-0.5.0 lib/pivotal-tracker/extensions.rb