Class: EShipper::OrderInformationReply
- Inherits:
-
EShipperResponse
- Object
- ActiveResource::Base
- EShipperResponse
- EShipper::OrderInformationReply
- Defined in:
- lib/eshipper/responses/order_information_reply.rb
Class Method Summary collapse
Methods inherited from EShipperResponse
Class Method Details
.fetch(options) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/eshipper/responses/order_information_reply.rb', line 5 def self.fetch() request = EShipper::OrderInformationRequest.new() response = decode(request.send_now) if response["ErrorReply"] throw(ErrorReply.new(response)) else new(response) end end |