byroot/activerecord-typedstore

View on GitHub
lib/active_record/typed_store/identity_coder.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module ActiveRecord::TypedStore
  module IdentityCoder
    extend self

    def load(data)
      data || {}
    end

    def dump(data)
      data || {}
    end
  end
end