Class: DateTime

Inherits:
Object show all
Defined in:
lib/savon/core_ext/datetime.rb

Instance Method Summary collapse

Instance Method Details

#to_soap_valueObject Also known as: to_soap_value!

Returns the DateTime as an xs:dateTime formatted String.



4
5
6
# File 'lib/savon/core_ext/datetime.rb', line 4

def to_soap_value
  strftime Savon::SOAP::DateTimeFormat
end