Module: Savon::CoreExt::Time

Defined in:
lib/savon/core_ext/time.rb

Instance Method Summary collapse

Instance Method Details

#xs_datetimeObject

Returns an xs:dateTime formatted String.



6
7
8
# File 'lib/savon/core_ext/time.rb', line 6

def xs_datetime
  strftime "%Y-%m-%dT%H:%M:%S%Z"
end