Method: Fech::Filing.map_for

Defined in:
lib/fech/filing.rb

.map_for(row_type, opts = {}) ⇒ Object

Returns the column names for given row type and version in the order they appear in row data.

Parameters:

  • representation of the row desired

  • (defaults to: {})

    a customizable set of options

Options Hash (opts):

  • :version (String, Regexp)

    representation of the version desired



171
172
173
# File 'lib/fech/filing.rb', line 171

def self.map_for(row_type, opts={})
  Fech::Mappings.for_row(row_type, opts)
end