Skip to content

Commit

Permalink
option_node doesn't exist, but options does
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaurte committed Jul 3, 2013
1 parent c9407b7 commit ebce540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_shipping/shipping/carriers/fedex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit ebce540

Please sign in to comment.