Sha256: 78323922f80a9cc71085202ddaedd78beb6b145cb1057e151e52d114d673fe16
Contents?: true
Size: 606 Bytes
Versions: 5
Compression:
Stored size: 606 Bytes
Contents
module ShipCompliant # == ShipCompliant::VoidSalesOrderResult # # This class provides methods to easily get the result # of voiding a sales order. You can quickly check if # voiding the order was a success or not. As well as # get the error message. # # result = ShipCompliant::VoidSalesOrder.by_order_key('OrderKey') # # if result.success? # puts "Order Voided" # else # puts "Failed to void order" # puts "[%d] %s" % [result.error_code, result.error_message] # end class VoidSalesOrderResult < Struct.new(:response) include BaseResult end end
Version data entries
5 entries across 5 versions & 1 rubygems