Class: SDM::WorkflowApproversListRequest
- Inherits:
-
Object
- Object
- SDM::WorkflowApproversListRequest
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowApproversListRequest specifies criteria for retrieving a list of WorkflowApprover records
Instance Attribute Summary collapse
-
#filter ⇒ Object
A human-readable filter query string.
Instance Method Summary collapse
-
#initialize(filter: nil) ⇒ WorkflowApproversListRequest
constructor
A new instance of WorkflowApproversListRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ WorkflowApproversListRequest
Returns a new instance of WorkflowApproversListRequest.
10646 10647 10648 10649 10650 |
# File 'lib/models/porcelain.rb', line 10646 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
10644 10645 10646 |
# File 'lib/models/porcelain.rb', line 10644 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10652 10653 10654 10655 10656 10657 10658 |
# File 'lib/models/porcelain.rb', line 10652 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 |