lib/fex/ship_response.rb in fex-0.0.2 vs lib/fex/ship_response.rb in fex-0.0.3
- old
+ new
@@ -11,10 +11,10 @@
def label_barcode
@label_barcode ||= css("Barcodes StringBarcodes Value").inner_text
end
def total_net_charge
- @total_net_charge ||= BigDecimal find_total_net_charge
+ @total_net_charge ||= BigDecimal.new(find_total_net_charge)
end
def tracking_number
@tracking_number ||= css("TrackingNumber").inner_text
end