lib/friendly_shipping/services/usps.rb in friendly_shipping-0.5.1 vs lib/friendly_shipping/services/usps.rb in friendly_shipping-0.5.2
- old
+ new
@@ -110,9 +110,10 @@
def build_request(api:, xml:, debug:)
FriendlyShipping::Request.new(
url: base_url,
body: "API=#{RESOURCES[api]}&XML=#{CGI.escape xml}",
+ readable_body: xml,
debug: debug
)
end
def base_url