Class: RubyOmx::StandardResponse
- Defined in:
- lib/ruby_omx/response.rb
Direct Known Subclasses
CancellationHistoryResponse, CustomItemInfoResponse, InventoryInfoResponse, ItemInfoResponse, ItemPriceUpdateResponse, ItemUpdateResponse, MemoSubmissionResponse, OrderInfoResponse, PurchaseOrderUpdateResponse, ReturnHistoryResponse, SupplierItemUpdateResponse, UDOAResponse
Instance Method Summary collapse
Methods inherited from Response
Methods inherited from Node
#accessors, #as_hash, #initialize
Constructor Details
This class inherits a constructor from RubyOmx::Node
Instance Method Details
#to_s ⇒ Object
94 95 96 97 |
# File 'lib/ruby_omx/response.rb', line 94 def to_s error_string = self.errors ? self.errors.collect{ |e| e..to_s }.join(',') : "none" return "success: #{success}, errors: #{error_string}" end |