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