Sha256: 7dc0bde7106c71ef2e1b2debcfcab6ec160b537fdfe4f2abbad2d062982aafa3
Contents?: true
Size: 379 Bytes
Versions: 75
Compression:
Stored size: 379 Bytes
Contents
module Accounts def get_all_accounts(constituent_id, inactive=false, include_affiliate=false, options={}) options.merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint("CRM/Accounts?constituentId=#{constituent_id}&includeInactive=#{inactive}&includeAffiliates=#{include_affiliate}"), options) JSON.parse(response.body) end end
Version data entries
75 entries across 75 versions & 1 rubygems