lib/super_formatter/tcat/head.rb in super_tools-2.1.0 vs lib/super_formatter/tcat/head.rb in super_tools-3.0.1

- old
+ new

@@ -1,13 +1,13 @@ module SuperFormatter module Tcat Head = Struct.new(:data) do def indexes @indexes ||= { - global_order_id: data.index('訂單編號'), - mobile: data.index('手機(收)'), - recipient: data.index('收件人'), - tracking_code: data.index('託運單號') + global_order_id: data.index("訂單編號"), + mobile: data.index("手機(收)"), + recipient: data.index("收件人"), + tracking_code: data.index("託運單號") } end end end end