Class: Nfe::Models::Referenced::NFref
- Inherits:
-
Object
- Object
- Nfe::Models::Referenced::NFref
- Includes:
- ActiveModel::Model, Helpers::XmlModel::NfeModel
- Defined in:
- lib/nfe/models/referenced/NFref.rb
Instance Method Summary collapse
-
#initialize ⇒ NFref
constructor
A new instance of NFref.
- #present? ⇒ Boolean
Methods included from Helpers::XmlModel::NfeModel
#add_elements, #check_present, included, #parse!, #parse_elements, #to_xml, #validate_optional_attributes, #validate_required_attributes
Constructor Details
#initialize ⇒ NFref
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
30 31 32 |
# File 'lib/nfe/models/referenced/NFref.rb', line 30 def present? true end |