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.
3284 3285 3286 3287 3288 |
# File 'lib/models/porcelain.rb', line 3284 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
3282 3283 3284 |
# File 'lib/models/porcelain.rb', line 3282 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
3290 3291 3292 3293 3294 3295 3296 |
# File 'lib/models/porcelain.rb', line 3290 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 |