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