lib/active_shipping/shipping/carrier.rb in active_shipping-0.1.4 vs lib/active_shipping/shipping/carrier.rb in active_shipping-0.9.1
- old
+ new
@@ -43,14 +43,9 @@
Mass.new(150, :pounds)
end
protected
- def node_string_or_nil(xml_node)
- text = node_text_or_nil(xml_node)
- text ? text.to_s : nil
- end
-
def node_text_or_nil(xml_node)
xml_node ? xml_node.text : nil
end
# Override in subclasses for non-U.S.-based carriers.