Class: UPS::Parsers::ShipConfirmParser

Inherits:
BaseParser
  • Object
show all
Defined in:
lib/ups/parsers/ship_confirm_parser.rb

Instance Attribute Summary

Attributes inherited from BaseParser

#response

Instance Method Summary collapse

Methods inherited from BaseParser

#error_description, #initialize, #parsed_response, #status_code, #status_description, #success?

Constructor Details

This class inherits a constructor from UPS::Parsers::BaseParser

Instance Method Details

#identification_numberObject



5
6
7
# File 'lib/ups/parsers/ship_confirm_parser.rb', line 5

def identification_number
  root_response[:ShipmentIdentificationNumber]
end

#shipment_digestObject



9
10
11
# File 'lib/ups/parsers/ship_confirm_parser.rb', line 9

def shipment_digest
  root_response[:ShipmentDigest]
end