Class: Shipping::UPS::Http
- Inherits:
-
Object
- Object
- Shipping::UPS::Http
- Includes:
- HTTParty
- Defined in:
- lib/ups_shipping.rb
Instance Method Summary collapse
- #commit(url, request) ⇒ Object
-
#initialize(access_request, options = {}) ⇒ Http
constructor
A new instance of Http.
Constructor Details
Instance Method Details
#commit(url, request) ⇒ Object
29 30 31 32 |
# File 'lib/ups_shipping.rb', line 29 def commit(url, request) request = @access_request + request self.class.post(url, :body => request).parsed_response end |