Class: Nfe::Models::Transport::Transp
- Inherits:
-
Object
- Object
- Nfe::Models::Transport::Transp
- Extended by:
- Enumerize
- Includes:
- ActiveModel::Model, Helpers::XmlModel::NfeModel
- Defined in:
- lib/nfe/models/transport/transp.rb
Instance Method Summary collapse
-
#initialize ⇒ Transp
constructor
A new instance of Transp.
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
#initialize ⇒ Transp
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 |