Class: Retab::ApproveReviewRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::ApproveReviewRequest
- Defined in:
- lib/retab/workflow_reviews/approve_review_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ version_id: :version_id }.freeze
Instance Attribute Summary collapse
-
#version_id ⇒ Object
Returns the value of attribute version_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ApproveReviewRequest
constructor
A new instance of ApproveReviewRequest.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ ApproveReviewRequest
Returns a new instance of ApproveReviewRequest.
14 15 16 17 |
# File 'lib/retab/workflow_reviews/approve_review_request.rb', line 14 def initialize(json) hash = self.class.normalize(json) @version_id = hash[:version_id] end |
Instance Attribute Details
#version_id ⇒ Object
Returns the value of attribute version_id.
12 13 14 |
# File 'lib/retab/workflow_reviews/approve_review_request.rb', line 12 def version_id @version_id end |