Class: Dynamic::DataFilters::ObligatoryFilter
- Inherits:
-
KirguduBase::Dynamic::BaseModel
- Object
- KirguduBase::Dynamic::BaseModel
- Dynamic::DataFilters::ObligatoryFilter
- Defined in:
- app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#only ⇒ Object
Returns the value of attribute only.
-
#skip ⇒ Object
Returns the value of attribute skip.
-
#source_method ⇒ Object
Returns the value of attribute source_method.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ObligatoryFilter
constructor
A new instance of ObligatoryFilter.
Constructor Details
#initialize(options = {}) ⇒ ObligatoryFilter
6 7 8 9 10 11 12 13 |
# File 'app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb', line 6 def initialize(={}) self.name = nil self.source_method = nil self.only = nil self.skip = nil super() end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb', line 15 def name @name end |
#only ⇒ Object
Returns the value of attribute only.
17 18 19 |
# File 'app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb', line 17 def only @only end |
#skip ⇒ Object
Returns the value of attribute skip.
18 19 20 |
# File 'app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb', line 18 def skip @skip end |
#source_method ⇒ Object
Returns the value of attribute source_method.
16 17 18 |
# File 'app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb', line 16 def source_method @source_method end |