Sha256: bad0a427f1b73ee8072b7bef7aa8dec574f8c3279ee34d0d3de01c22f9e36a57
Contents?: true
Size: 412 Bytes
Versions: 38
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true module LeapSalesforce # Handles retrieving limits of a Salesforce instance class Limits class << self # @param [Symbol, String] limit_name Name of limit to find remaining amount for # @return [Integer] Finds remaining amount for a Salesforce limit def remaining_for(limit_name) SoqlData.limits[limit_name]['Remaining'] end end end end
Version data entries
38 entries across 38 versions & 1 rubygems