Sha256: dcd7f69926692928a2fe6f1db1b8e91b4ca0e45052eb52e5c87536adf1ef9455
Contents?: true
Size: 943 Bytes
Versions: 3
Compression:
Stored size: 943 Bytes
Contents
module LedgerSync module Adaptors module Test module Account module Operations class Valid < Operation::Create class Contract < LedgerSync::Adaptors::Contract schema do optional(:external_id).maybe(:string) optional(:ledger_id).maybe(:string) required(:name).filled(:string) required(:classification).filled(:string) required(:account_type).filled(:string) required(:account_sub_type).filled(:string) required(:number).maybe(:integer) required(:currency).maybe(:string) required(:description).maybe(:string) required(:active).maybe(:bool) end end private def operate success(response: :foo) end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems