Class: SDM::WorkflowApproverGetResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowApproverGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowApproverGetResponse returns a requested WorkflowApprover.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#workflow_approver ⇒ Object
The requested WorkflowApprover.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, workflow_approver: nil) ⇒ WorkflowApproverGetResponse
constructor
A new instance of WorkflowApproverGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, workflow_approver: nil) ⇒ WorkflowApproverGetResponse
Returns a new instance of WorkflowApproverGetResponse.
10503 10504 10505 10506 10507 10508 10509 10510 10511 |
# File 'lib/models/porcelain.rb', line 10503 def initialize( meta: nil, rate_limit: nil, workflow_approver: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @workflow_approver = workflow_approver == nil ? nil : workflow_approver end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
10497 10498 10499 |
# File 'lib/models/porcelain.rb', line 10497 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
10499 10500 10501 |
# File 'lib/models/porcelain.rb', line 10499 def rate_limit @rate_limit end |
#workflow_approver ⇒ Object
The requested WorkflowApprover.
10501 10502 10503 |
# File 'lib/models/porcelain.rb', line 10501 def workflow_approver @workflow_approver end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10513 10514 10515 10516 10517 10518 10519 |
# File 'lib/models/porcelain.rb', line 10513 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 |