Sha256: 275e3f9022dae366c635e4280a3efa9a9b1a3872a0b627a533d54d3dd3326063
Contents?: true
Size: 370 Bytes
Versions: 7
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true module SolidusSubscriptions module ChurnBuster class Serializer attr_reader :object class << self def serialize(object) new(object).to_h end end def initialize(object) @object = object end def to_h raise NotImplementedError end end end end
Version data entries
7 entries across 7 versions & 1 rubygems