Class: SDM::WorkflowApproversDeleteResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowApproversDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowApproversDeleteResponse reports how the WorkflowApprover was deleted in the system.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ WorkflowApproversDeleteResponse
constructor
A new instance of WorkflowApproversDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ WorkflowApproversDeleteResponse
Returns a new instance of WorkflowApproversDeleteResponse.
13164 13165 13166 13167 13168 |
# File 'lib/models/porcelain.rb', line 13164 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
13162 13163 13164 |
# File 'lib/models/porcelain.rb', line 13162 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13170 13171 13172 13173 13174 13175 13176 |
# File 'lib/models/porcelain.rb', line 13170 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 |