Class: Quickeebooks::Common::DateTime
- Inherits:
-
Object
- Object
- Quickeebooks::Common::DateTime
- 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( = {}) node_name = [:name] %Q{<#{node_name}>#{formatted_date(value)}</#{node_name}>} end |