Module: HappyMapper::ClassMethods
- Defined in:
- lib/pivotal-tracker/extensions.rb
Instance Method Summary collapse
Instance Method Details
#orig_parse ⇒ Object
5 |
# File 'lib/pivotal-tracker/extensions.rb', line 5 alias_method :orig_parse, :parse |
#parse(xml, options = {}) ⇒ Object
6 7 8 9 |
# File 'lib/pivotal-tracker/extensions.rb', line 6 def parse(xml, ={}) xml = xml.to_s if xml.is_a?(RestClient::Response) orig_parse(xml, ) end |