Sha256: 3f6e51dab2bc496213b008db052aab673d4b07ae0fbf54d79e018c9dfbcec224

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

require 'simply_serializable'

class Resonad
  include SimplySerializable::Mixin

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/core_ext/resonad.rb
ledger_sync-1.3.4 lib/ledger_sync/core_ext/resonad.rb
ledger_sync-1.3.3 lib/ledger_sync/core_ext/resonad.rb