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.
2548 2549 2550 2551 2552 |
# File 'lib/models/porcelain.rb', line 2548 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2546 2547 2548 |
# File 'lib/models/porcelain.rb', line 2546 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2554 2555 2556 2557 2558 2559 2560 |
# File 'lib/models/porcelain.rb', line 2554 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 |