Class: NFe::Info

Inherits:
EntidadeNFe show all
Defined in:
lib/nfe/entidades/infNFe/infAdic/info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from EntidadeNFe

nfe_attr, #nfe_attributes, nfe_attrs, #serialize, #to_nfe, #to_nfe_xml, #to_xml, xml_accessor, #xml_to_hash

Instance Attribute Details

#infCplObject

Returns the value of attribute infCpl.



5
6
7
# File 'lib/nfe/entidades/infNFe/infAdic/info.rb', line 5

def infCpl
  @infCpl
end

Instance Method Details

#attributesObject



7
8
9
10
11
# File 'lib/nfe/entidades/infNFe/infAdic/info.rb', line 7

def attributes
  @attributes = {
      "infCpl" => infCpl
    }
end

#attributes=(params) ⇒ Object



13
14
15
16
17
# File 'lib/nfe/entidades/infNFe/infAdic/info.rb', line 13

def attributes=(params)
  @attributes = {
      "infCpl" => params["infCpl"]
    }
end