lib/pbshipping/manifest.rb
# 
# MANAGING MANIFESTS
# API: GET /manifests
# API signature: get/manifests/
#
# Retry a manifest request that was previously submitted with no successful 
# response
#
# By default, the returned result would overwrite the current state 
# of the object. To avoid overwriting, set the input argument 
# overwrite to False and a copy of the result would be generated and
# returned instead      
#    
MANAGING MANIFESTS
API: GET /manifests
API signature: get/manifests

Retry a manifest request that was previously submitted with no successful
response

By default, the returned result would overwrite the current state
of the object. To avoid overwriting, set the input argument
overwrite to False and a copy of the result would be generated and
returned instead
MANAGING MANIFESTS API : GET / manifests API signature : get / manifests Retry a manifest request that was previously submitted with no successful response By default the returned result would overwrite the current state of the object . To avoid overwriting set the input argument overwrite to False and a copy of the result would be generated and returned instead
def retry(auth_obj, txid, originalTxid, overwrite=true)
      hdrs = { PBShipping::txid_attrname => txid }
      params = { :originalTransactionId => originalTxid }
      api_sig = "get/manifests"
      api_version = PBShipping::get_api_version(api_sig)
      api_path = "/manifests"
      json_resp = PBShipping::api_request(
        auth_obj, :get, api_version, api_path, hdrs, params, {})
      if overwrite == true
        self.update(json_resp)
        self
      else
        Manifest.new(json_resp)      
      end  
    end
def retry ( auth_obj , txid , originalTxid , overwrite = true ) hdrs = { PBShipping :: txid_attrname => txid } params = { :originalTransactionId => originalTxid } api_sig = "get/manifests" api_version = PBShipping :: get_api_version ( api_sig ) api_path = "/manifests" json_resp = PBShipping :: api_request ( auth_obj , :get , api_version , api_path , hdrs , params , { } ) if overwrite == true self . update ( json_resp ) self else Manifest . new ( json_resp ) end end
MANAGING MANIFESTS
API: GET /manifests
API signature: get/manifests
MANAGING MANIFESTS API : GET / manifests API signature : get / manifests
auth_obj
<not_specific>
txid
<not_specific>
originalTxid
<not_specific>
overwrite
<not_specific>