Sha256: 409fd74fa02ba63100b85f35ecfd913034b2a5f19c9d9ea7c25b6f5108d31e25
Contents?: true
Size: 414 Bytes
Versions: 25
Compression:
Stored size: 414 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) Salesforce.limits[limit_name]['Remaining'] end end end end
Version data entries
25 entries across 25 versions & 1 rubygems