Class: KirguduBase::DynamicFilters::ObligatoryFilter

Inherits:
KirguduBase::DynamicPages::Element show all
Defined in:
app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb

Instance Attribute Summary collapse

Attributes inherited from KirguduBase::DynamicPages::Element

#parent_entry

Instance Method Summary collapse

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

#fix_parent_entry

Methods included from Models::MergeableElements::InstanceMethods

#merge

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(options={})
  self.name = nil
  self.source_method = nil
  self.only = nil
  self.skip = nil

  super(options)
end

Instance Attribute Details

#nameObject

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

#onlyObject

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

#skipObject

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_methodObject

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