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