Sha256: 637fb60ea0dfb19b36a91d05836dd79ce0456e9a86e94f9e7bb356742b7b49fd

Contents?: true

Size: 842 Bytes

Versions: 3

Compression:

Stored size: 842 Bytes

Contents

module LedgerSync
  module Adaptors
    module Test
      module Account
        module Operations
          class Invalid < Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:name).maybe(:string)
                required(:classification).maybe(:string)
                required(:account_type).maybe(:string)
                required(:account_sub_type).maybe(:string)
                required(:number).maybe(:integer)
                required(:currency).maybe(:string)
                required(:description).maybe(:string)
                required(:active).maybe(:bool)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/test/account/operations/invalid.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/test/account/operations/invalid.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/test/account/operations/invalid.rb