Module: RockRMS::Client::TransactionImage

Included in:
RockRMS::Client
Defined in:
lib/rock_rms/resources/transaction_image.rb

Instance Method Summary collapse

Instance Method Details

#create_transaction_image(binary_file_id:, transaction_id:) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/rock_rms/resources/transaction_image.rb', line 4

def create_transaction_image(
  binary_file_id:,
  transaction_id:
)
  options = {
    'BinaryFileId' => binary_file_id,
    'Transactionid' => transaction_id
  }

  post(transaction_image_path, options)
end