Sha256: 4e2a57e4f52533fa24e35a0c3cf82a7463aed80cbd78c1d92861809650fa17e3
Contents?: true
Size: 479 Bytes
Versions: 11
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true module FinApps module REST class Institutions < FinApps::REST::Resources using ObjectExtensions using StringExtensions def list(search_term) raise MissingArgumentsError.new 'Missing argument: search_term' if search_term.blank? # API errors when search_term is blank, maybe it shouldn't path = "#{end_point}/search/#{ERB::Util.url_encode(search_term)}" super path end end end end
Version data entries
11 entries across 11 versions & 1 rubygems