Sha256: 198532752df75d99b5d581bf1c51044960d0d3e2594bf38954fa823f67ca432f

Contents?: true

Size: 662 Bytes

Versions: 3

Compression:

Stored size: 662 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).maybe(: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

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.3 lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb