Class: NfseIssnet::Base::RequisicaoAbrasf
- Inherits:
-
Object
- Object
- NfseIssnet::Base::RequisicaoAbrasf
- Defined in:
- lib/nfse_issnet/base.rb
Instance Attribute Summary collapse
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(xml) ⇒ RequisicaoAbrasf
constructor
A new instance of RequisicaoAbrasf.
- #to_s ⇒ Object
Constructor Details
#initialize(xml) ⇒ RequisicaoAbrasf
Returns a new instance of RequisicaoAbrasf.
57 58 59 |
# File 'lib/nfse_issnet/base.rb', line 57 def initialize(xml) self.xml = xml end |
Instance Attribute Details
#xml ⇒ Object
Returns the value of attribute xml.
55 56 57 |
# File 'lib/nfse_issnet/base.rb', line 55 def xml @xml end |
Instance Method Details
#to_s ⇒ Object
61 62 63 64 65 66 67 68 69 |
# File 'lib/nfse_issnet/base.rb', line 61 def to_s builder = Builder::XmlMarkup.new builder.tag!('nfd:xml') { |b| b.cdata! xml } builder end |