Class: Refine::Inline::Criteria::NumericRefinement
- Inherits:
-
Object
- Object
- Refine::Inline::Criteria::NumericRefinement
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/refine/inline/criteria/numeric_refinement.rb
Instance Attribute Summary collapse
-
#clause ⇒ Object
Returns the value of attribute clause.
-
#value1 ⇒ Object
Returns the value of attribute value1.
-
#value2 ⇒ Object
Returns the value of attribute value2.
Instance Method Summary collapse
Instance Attribute Details
#clause ⇒ Object
Returns the value of attribute clause.
4 5 6 |
# File 'app/models/refine/inline/criteria/numeric_refinement.rb', line 4 def clause @clause end |
#value1 ⇒ Object
Returns the value of attribute value1.
4 5 6 |
# File 'app/models/refine/inline/criteria/numeric_refinement.rb', line 4 def value1 @value1 end |
#value2 ⇒ Object
Returns the value of attribute value2.
4 5 6 |
# File 'app/models/refine/inline/criteria/numeric_refinement.rb', line 4 def value2 @value2 end |
Instance Method Details
#attributes ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/models/refine/inline/criteria/numeric_refinement.rb', line 6 def attributes { clause: clause, value1: value1, value2: value2 }.compact end |