Class: Intacct::Functions::CreateArAdjustment
- Inherits:
-
Object
- Object
- Intacct::Functions::CreateArAdjustment
- Defined in:
- lib/intacct/functions/create_ar_adjustment.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ CreateArAdjustment
constructor
A new instance of CreateArAdjustment.
- #to_xml ⇒ Object
Constructor Details
#initialize(&block) ⇒ CreateArAdjustment
Returns a new instance of CreateArAdjustment.
6 7 8 |
# File 'lib/intacct/functions/create_ar_adjustment.rb', line 6 def initialize(&block) @block = block end |
Instance Method Details
#to_xml ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/intacct/functions/create_ar_adjustment.rb', line 10 def to_xml builder = Builder::XmlMarkup.new builder.create_aradjustment do @block.call(builder) end end |