Sha256: baeb6c3c478f3478da453340e4b3437a99fb77aaff09fc6c8187c603c2ec5ca6
Contents?: true
Size: 462 Bytes
Versions: 42
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module FinApps module REST class OrderAssignments < FinAppsCore::REST::Resources def update(id, orders_array) not_blank(id, :operator_id) not_blank(orders_array, :params) fail FinAppsCore::InvalidArgumentsError, 'Invalid argument: params' unless orders_array.is_a? Array path = "operators/#{ERB::Util.url_encode(id)}/assign" super orders_array, path end end end end
Version data entries
42 entries across 42 versions & 1 rubygems