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