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.
2699 2700 2701 2702 2703 |
# File 'lib/models/porcelain.rb', line 2699 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2697 2698 2699 |
# File 'lib/models/porcelain.rb', line 2697 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2705 2706 2707 2708 2709 2710 2711 |
# File 'lib/models/porcelain.rb', line 2705 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 |