Class: Quickeebooks::Common::DateTime

Inherits:
Object
  • Object
show all
Includes:
ROXML
Defined in:
lib/quickeebooks/common/date_time.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(options = {}) ⇒ Object



8
9
10
11
# File 'lib/quickeebooks/common/date_time.rb', line 8

def to_xml(options = {})
  node_name = options[:name]
  %Q{<#{node_name}>#{formatted_date(value)}</#{node_name}>}
end