Skip to content

Commit

Permalink
Update Connection+API.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
mike4aday authored Mar 30, 2022
1 parent de1e288 commit 7bc8305
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/SwiftlySalesforce/Connection+API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import Foundation

public extension Connection {

/// Queries Salesforce for the
/// Retrieves information about limits in your org.
/// For each limit, this method returns the maximum allocation and the remaining allocation based on usage.
///
/// See: [Limits](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm)
///
/// - Returns: A dictionary of ``Limit`` instances
func limits() async throws -> [String: Limit] {
return try await request(service: Resource.Limits())
Expand Down

0 comments on commit 7bc8305

Please sign in to comment.