Permalink
Browse files

option_node doesn't exist, but options does

  • Loading branch information...
1 parent c9407b7 commit ebce5402b92ea32aa2a7b4bc041bd8e435b7b76f @ricaurte ricaurte committed Jul 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/active_shipping/shipping/carriers/fedex.rb
@@ -282,7 +282,7 @@ def build_shipment_request(origin, destination, package, options = {})
end
end
- if options[:service_type] == 'SMART_POST' && option_node[:smart_post].present?
+ if options[:service_type] == 'SMART_POST' && options[:smart_post].present?
request_node << XmlNode.new('SmartPostDetail') do |smart_post|
smart_post << XmlNode.new('Indicia', options[:smart_post][:indicia] || 'PARCEL_SELECT')
if options[:smart_post][:ancillary_endorsement]

0 comments on commit ebce540

Please sign in to comment.