class IntacctRuby::Functions::UpdateProject
creates a project instance in Intacct
Public Class Methods
new(attrs = {})
click to toggle source
Calls superclass method
IntacctRuby::Functions::BaseFunction::new
# File lib/intacct_ruby/functions/update_project.rb, line 7 def initialize(attrs = {}) super("update_project_#{attrs[:projectid]} (#{timestamp})", attrs) end
Public Instance Methods
to_xml()
click to toggle source
Calls superclass method
IntacctRuby::Functions::BaseFunction#to_xml
# File lib/intacct_ruby/functions/update_project.rb, line 11 def to_xml super do |xml| xml.update_project key: @attrs[:projectid] do xml << project_params end end end