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
tsenart-pivotal-tracker-0.4.0 lib/pivotal-tracker/extensions.rb
topprospect-pivotal-tracker-0.1.1 lib/pivotal-tracker/extensions.rb
topprospect-pivotal-tracker-0.0.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.3.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.3.0 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.2.2 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.2.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.2.0 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.1.3 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.1.2 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.1.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.1.0.1 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.1.0 lib/pivotal-tracker/extensions.rb
pivotal-tracker-0.0.9.1 lib/pivotal-tracker/extensions.rb