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