Sha256: 88531a24427300991a449610ab0ec6175de47ad811871873b386ae0bfc5dd7a1

Contents?: true

Size: 492 Bytes

Versions: 44

Compression:

Stored size: 492 Bytes

Contents

module RockRMS
  class Client
    module TransactionImage
      def create_transaction_image(
        binary_file_id:,
        transaction_id:
      )
        options = {
          'BinaryFileId' => binary_file_id,
          'Transactionid' => transaction_id
        }

        post(transaction_image_path, options)
      end

      private

      def transaction_image_path(id = nil)
        id ? "FinancialTransactionImages/#{id}" : 'FinancialTransactionImages'
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
rock_rms-9.13.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.12.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.11.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.10.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.9.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.8.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.7.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.6.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.5.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.4.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.3.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.2.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.1.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-9.0.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-8.23.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-8.22.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-8.21.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-8.20.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-8.19.0 lib/rock_rms/resources/transaction_image.rb
rock_rms-8.18.0 lib/rock_rms/resources/transaction_image.rb