Sha256: 3cfb38c7b48367f06ee3b34c9a907a034310adb77ecbc2bd77bd20a329ca89d0

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

# frozen_string_literal: true

# require_relative '../../operation/create'

module LedgerSync
  module Adaptors
    module NetSuite
      module Currency
        module Operations
          class Create < NetSuite::Operation::Create
            class Contract < LedgerSync::Adaptors::Contract
              params do
                required(:external_id).filled(:string)
                required(:ledger_id).value(:nil)
                required(:exchange_rate).filled(:float)
                required(:name).filled(:string)
                required(:symbol).filled(:string)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb