Sha256: 67421f8b98e55b894c9d7d180706b92613f1f4243942e2438f3e028c151db13f

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

#
# Copyright (c) 2020-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#

module Realize
  class Value
    # Return a current Time object.
    class Uuid
      acts_as_hashable

      def transform(_resolver, _value, _time, _record)
        SecureRandom.uuid
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
realize-1.6.0 lib/realize/value/uuid.rb
realize-1.5.0 lib/realize/value/uuid.rb
realize-1.4.0 lib/realize/value/uuid.rb