Class: SDM::ApprovalWorkflowListResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ApprovalWorkflowListResponse returns a list of ApprovalWorkflow records that meet the criteria of an ApprovalWorkflowListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowListResponse
constructor
A new instance of ApprovalWorkflowListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowListResponse
Returns a new instance of ApprovalWorkflowListResponse.
2520 2521 2522 2523 2524 |
# File 'lib/models/porcelain.rb', line 2520 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2518 2519 2520 |
# File 'lib/models/porcelain.rb', line 2518 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2526 2527 2528 2529 2530 2531 2532 |
# File 'lib/models/porcelain.rb', line 2526 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |