Class: Nfe::Models::Referenced::NFref

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model, Helpers::XmlModel::NfeModel
Defined in:
lib/nfe/models/referenced/NFref.rb

Instance Method Summary collapse

Methods included from Helpers::XmlModel::NfeModel

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

Constructor Details

#initializeNFref

Returns a new instance of NFref.



24
25
26
27
28
# File 'lib/nfe/models/referenced/NFref.rb', line 24

def initialize
  @refNF = Nfe::Models::Referenced::RefNF.new
  @refNFP = Nfe::Models::Referenced::RefNFP.new
  @refECF = Nfe::Models::Referenced::RefECF.new
end

Instance Method Details

#present?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/nfe/models/referenced/NFref.rb', line 30

def present?
  true
end