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.
2514 2515 2516 2517 2518 |
# File 'lib/models/porcelain.rb', line 2514 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2512 2513 2514 |
# File 'lib/models/porcelain.rb', line 2512 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/models/porcelain.rb', line 2520 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 |