Class: FmLayout::Receptor

Inherits:
Object
  • Object
show all
Includes:
FmSeccion
Defined in:
lib/fm_layout/receptor.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from FmSeccion

#titulo, #to_h, #to_s

Constructor Details

#initializeReceptor

Returns a new instance of Receptor.



7
8
9
10
# File 'lib/fm_layout/receptor.rb', line 7

def initialize
  @titulo = 'Receptor'
  @datos = {}
end

Class Method Details

.campos_vs_metodosObject



12
13
14
15
16
17
18
19
# File 'lib/fm_layout/receptor.rb', line 12

def self.campos_vs_metodos
  {
    'rfc'           => 'rfc',
    'nombre'        => 'nombre',
    'NumCliente'    => 'numero_de_cliente',
    'emailCliente'  => 'email',
  }
end