Sha256: f30e807e6988bad82872368b948a79868a487395e90be894d2291a68d47ba99c

Contents?: true

Size: 660 Bytes

Versions: 8

Compression:

Stored size: 660 Bytes

Contents

# frozen_string_literal: true

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

module LedgerSync
  module Ledgers
    module NetSuite
      class Currency
        module Operations
          class Create < NetSuite::Operation::Create
            class Contract < LedgerSync::Ledgers::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

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb