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.
2572 2573 2574 2575 2576 |
# File 'lib/models/porcelain.rb', line 2572 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2570 2571 2572 |
# File 'lib/models/porcelain.rb', line 2570 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2578 2579 2580 2581 2582 2583 2584 |
# File 'lib/models/porcelain.rb', line 2578 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 |