Class: HTTParty::Request
- Inherits:
-
Object
- Object
- HTTParty::Request
- Defined in:
- lib/endicia_ruby/request.rb
Instance Method Summary collapse
Instance Method Details
#parse_response(body) ⇒ Object
11 12 13 14 |
# File 'lib/endicia_ruby/request.rb', line 11 def parse_response(body) parse_response_without_hack( body.sub(/xmlns=("|')(.*envmgr.com|.*endicia.com)/i, 'xmlns=\1https://\2')) end |
#parse_response_without_hack ⇒ Object
10 |
# File 'lib/endicia_ruby/request.rb', line 10 alias_method :parse_response_without_hack, :parse_response |