Sha256: b5c48e968af4c1525f2ed84a1989621d76212c304176520296667c7ee48832f1

Contents?: true

Size: 228 Bytes

Versions: 8

Compression:

Stored size: 228 Bytes

Contents

module Savon
  module CoreExt
    module Time

      # Returns an xs:dateTime formatted String.
      def xs_datetime
        strftime "%Y-%m-%dT%H:%M:%S%Z"
      end

    end
  end
end

Time.send :include, Savon::CoreExt::Time

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
s-savon-0.8.6 lib/savon/core_ext/time.rb
savon-0.9.1 lib/savon/core_ext/time.rb
savon-0.9.0 lib/savon/core_ext/time.rb
savon-0.8.6 lib/savon/core_ext/time.rb
savon-0.8.5 lib/savon/core_ext/time.rb
savon-0.8.4 lib/savon/core_ext/time.rb
savon-0.8.3 lib/savon/core_ext/time.rb
savon-0.8.2 lib/savon/core_ext/time.rb