Class: ClarkKent::ReportFilter

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Cloneable
Defined in:
app/models/clark_kent/report_filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Cloneable

#cloneable_attributes, #reset_timestamps

Instance Attribute Details

#filter_value_1Object

Returns the value of attribute filter_value_1.



5
6
7
# File 'app/models/clark_kent/report_filter.rb', line 5

def filter_value_1
  @filter_value_1
end

#filter_value_2Object

Returns the value of attribute filter_value_2.



5
6
7
# File 'app/models/clark_kent/report_filter.rb', line 5

def filter_value_2
  @filter_value_2
end

Instance Method Details

#display_nameObject



20
21
22
# File 'app/models/clark_kent/report_filter.rb', line 20

def display_name
	self.filter_name
end

#filter_match_paramObject



12
13
14
# File 'app/models/clark_kent/report_filter.rb', line 12

def filter_match_param
	self.filter_name
end

#filter_match_paramsObject



8
9
10
# File 'app/models/clark_kent/report_filter.rb', line 8

def filter_match_params
	[self.filter_match_param,self.filter_match_value]
end

#filter_match_valueObject



16
17
18
# File 'app/models/clark_kent/report_filter.rb', line 16

def filter_match_value
	self.filter_value
end