Sha256: 32478d0ea3bfb11bcbfce6b4a95f0f4fb349970e1c3926bc5ccd93f9ccffd7f9

Contents?: true

Size: 256 Bytes

Versions: 22

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

require 'simply_serializable'

class Resonad
  include SimplySerializable::Mixin

  class Success < Resonad
    simply_serialize only: %i[value]
  end

  class Failure < Resonad
    simply_serialize only: %i[error]
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ledger_sync-1.4.1 lib/ledger_sync/core_ext/resonad.rb
ledger_sync-1.4.0 lib/ledger_sync/core_ext/resonad.rb