lib/economic/current_invoice_line.rb in rconomic-0.4.1 vs lib/economic/current_invoice_line.rb in rconomic-0.5.0
- old
+ new
@@ -45,13 +45,13 @@
@invoice_handle = handle
end
protected
- # Returns OrderedHash with the properties of CurrentInvoice in the correct order, camelcased and ready
- # to be sent via SOAP
+ # Returns Hash with the properties of CurrentInvoice in the correct order,
+ # camelcased and ready to be sent via SOAP
def build_soap_data
- data = ActiveSupport::OrderedHash.new
+ data = {}
data['Number'] = 0 # Doesn't seem to be used
data['InvoiceHandle'] = invoice.handle.to_hash unless invoice.blank?
data['Description'] = description unless description.blank?
data['DeliveryDate'] = delivery_date