Class: SuperFormatter::Ecan::Row

Inherits:
Row
  • Object
show all
Defined in:
lib/super_formatter/ecan/row.rb

Instance Attribute Summary

Attributes inherited from Row

#data, #indexes

Instance Method Summary collapse

Methods inherited from Row

#complete?, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SuperFormatter::Row

Instance Method Details

#global_order_idObject



7
8
9
10
11
12
13
14
# File 'lib/super_formatter/ecan/row.rb', line 7

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