lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb in ledger_sync-1.3.3 vs lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb in ledger_sync-1.3.4
- old
+ new
@@ -8,10 +8,10 @@
module Currency
module Operations
class Create < NetSuite::Operation::Create
class Contract < LedgerSync::Adaptors::Contract
params do
- required(:external_id).maybe(:string)
+ required(:external_id).filled(:string)
required(:ledger_id).value(:nil)
required(:exchange_rate).filled(:float)
required(:name).filled(:string)
required(:symbol).filled(:string)
end