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.
3838 3839 3840 3841 3842 |
# File 'lib/models/porcelain.rb', line 3838 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
3836 3837 3838 |
# File 'lib/models/porcelain.rb', line 3836 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
3844 3845 3846 3847 3848 3849 3850 |
# File 'lib/models/porcelain.rb', line 3844 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 |