Sha256: 12cce07e79e95842588d30b887f9a7842040b9b18621954877061431fa7e257b
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 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) raise FinAppsCore::InvalidArgumentsError.new '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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finapps-2.2.22 | lib/finapps/rest/order_assignments.rb |
finapps-2.2.21 | lib/finapps/rest/order_assignments.rb |