Class: Nfe::Models::Transport::Transp

Inherits:
Object
  • Object
show all
Extended by:
Enumerize
Includes:
ActiveModel::Model, Helpers::XmlModel::NfeModel
Defined in:
lib/nfe/models/transport/transp.rb

Instance Method Summary collapse

Methods included from Helpers::XmlModel::NfeModel

#add_elements, #check_present, included, #parse!, #parse_elements, #present?, #to_xml, #validate_optional_attributes, #validate_required_attributes

Constructor Details

#initializeTransp

Returns a new instance of Transp.



40
41
42
43
44
45
46
# File 'lib/nfe/models/transport/transp.rb', line 40

def initialize
  @transporta = Transporta.new
  @retTransp = RetTransp.new
  @veicTransp = VeicTranspReboque.new
  @reboque = []
  @vol = []
end