Class: SDM::ApprovalWorkflowStepListResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowStepListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ApprovalWorkflowStepListResponse returns a list of ApprovalWorkflowStep records that meet the criteria of an ApprovalWorkflowStepListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowStepListResponse
constructor
A new instance of ApprovalWorkflowStepListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowStepListResponse
Returns a new instance of ApprovalWorkflowStepListResponse.
3116 3117 3118 3119 3120 |
# File 'lib/models/porcelain.rb', line 3116 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
3114 3115 3116 |
# File 'lib/models/porcelain.rb', line 3114 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
3122 3123 3124 3125 3126 3127 3128 |
# File 'lib/models/porcelain.rb', line 3122 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 |