Module: SfCli::Sf::Org::ListLimits
- Defined in:
- lib/sf_cli/sf/org/list_limits.rb
Defined Under Namespace
Classes: Limits
Constant Summary collapse
- Limit =
Data.define(:name, :remaining, :max)
Instance Method Summary collapse
-
#list_limits(target_org: nil, api_version: nil, raw_output: false) ⇒ Limits
List the limits in your org.
Instance Method Details
#list_limits(target_org: nil, api_version: nil, raw_output: false) ⇒ Limits
List the limits in your org
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/sf_cli/sf/org/list_limits.rb', line 18 def list_limits(target_org: nil, api_version: nil, raw_output: false) flags = { :"target-org" => target_org, :"api-version" => api_version, } action = __method__.to_s.tr('_', ' ') output = org_exec(action, flags: flags, redirection: :null_stderr, raw_output: raw_output) return output if raw_output Limits.new(output['result']) end |