class IntacctRuby::Functions::LocationBaseFunction

base for all location-related functions, to cut down on duplicate code

Private Instance Methods

location_params() click to toggle source
# File lib/intacct_ruby/functions/location_base_function.rb, line 12
def location_params
  xml = Builder::XmlMarkup.new

  xml.name     @attrs[:name]
  xml.parentid @attrs[:parentid]

  xml << start_date_params

  xml.target!
end