Class: KirguduBase::DynamicFilters::ObligatoryFilter
- Inherits:
-
KirguduBase::DynamicPages::Element
- Object
- KirguduBase::DynamicPages::Element
- KirguduBase::DynamicFilters::ObligatoryFilter
- Defined in:
- app/models/kirgudu_base/dynamic_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.
Attributes inherited from KirguduBase::DynamicPages::Element
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ObligatoryFilter
constructor
A new instance of ObligatoryFilter.
Methods inherited from KirguduBase::DynamicPages::Element
#as_json, #fix_parent_entry, #kontroller_klass, #to_external_hash
Methods included from Models::MergeableElements::ClassMethods
#get_mergeable_attributes, #mergeable_attributes
Methods included from Models::FixableElements::ClassMethods
#fixable_attributes, #get_kb_fixable_attributes
Methods included from Models::FixableElements::InstanceMethods
Methods included from Models::MergeableElements::InstanceMethods
Constructor Details
#initialize(options = {}) ⇒ ObligatoryFilter
Returns a new instance of ObligatoryFilter.
7 8 9 10 11 12 13 14 |
# File 'app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb', line 7 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.
16 17 18 |
# File 'app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb', line 16 def name @name end |
#only ⇒ Object
Returns the value of attribute only.
18 19 20 |
# File 'app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb', line 18 def only @only end |
#skip ⇒ Object
Returns the value of attribute skip.
19 20 21 |
# File 'app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb', line 19 def skip @skip end |
#source_method ⇒ Object
Returns the value of attribute source_method.
17 18 19 |
# File 'app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb', line 17 def source_method @source_method end |