Method: ActiveShipping::UPS#commit

Defined in:
lib/active_shipping/carriers/ups.rb

#commit(action, request, test = false) ⇒ Object (protected)



1140
1141
1142
1143
# File 'lib/active_shipping/carriers/ups.rb', line 1140

def commit(action, request, test = false)
  response = ssl_post("#{test ? TEST_URL : LIVE_URL}/#{RESOURCES[action]}", request)
  response.encode('utf-8', 'iso-8859-1')
end