Sha256: b048b214fc8e1b59f514cc2208ffc0b9362b48f2ccb913a9d95df7b0aaed9d9e

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

require "super_formatter/row"

module SuperFormatter
  module Ecan
    class Row < ::SuperFormatter::Row

      def global_order_id
        order_id = (find(:global_order_id) || "")
        if order_id[0] == "C"
          order_id[1, order_id.length - 1]
        else
          order_id
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
super_tools-3.0.1 lib/super_formatter/ecan/row.rb