Skip to content

Commit

Permalink
Issue with rate error solved - jazminschroeder#123
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkurVyas-BTC committed Oct 11, 2016
1 parent e99a06b commit 7f30228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fedex/request/rate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Rate < Base
def process_request
api_response = self.class.post(api_url, :body => build_xml)
puts api_response if @debug
response = parse_response(api_response)
response = parse_response(api_response.parsed_response)
if success?(response)
rate_reply_details = response[:rate_reply][:rate_reply_details] || []
rate_reply_details = [rate_reply_details] if rate_reply_details.is_a?(Hash)
Expand Down

0 comments on commit 7f30228

Please sign in to comment.