PG::BinaryEncoder::

TimestampUtc class

Convenience classes for timezone options

Public Class Methods

new(hash={}, **kwargs)
# File lib/pg/binary_encoder/timestamp.rb, line 7
def initialize(hash={}, **kwargs)
        warn("PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}", category: :deprecated) unless hash.empty?
        super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_UTC)
end