Class: ClarkKent::ReportFilterOption
- Inherits:
-
Object
- Object
- ClarkKent::ReportFilterOption
- Defined in:
- app/models/clark_kent/report_filter_option.rb
Direct Known Subclasses
DateFilterOption, NumberFilterOption, ObjectFilterOption, StringFilterOption
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#date_requirement_override ⇒ Object
Returns the value of attribute date_requirement_override.
-
#in_required_date_group ⇒ Object
Returns the value of attribute in_required_date_group.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#label ⇒ Object
Returns the value of attribute label.
-
#param ⇒ Object
Returns the value of attribute param.
-
#select ⇒ Object
Returns the value of attribute select.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ReportFilterOption
constructor
A new instance of ReportFilterOption.
Constructor Details
#initialize(params = {}) ⇒ ReportFilterOption
Returns a new instance of ReportFilterOption.
6 7 8 |
# File 'app/models/clark_kent/report_filter_option.rb', line 6 def initialize params = {} params.each { |key, value| send "#{key}=", value } end |
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def collection @collection end |
#date_requirement_override ⇒ Object
Returns the value of attribute date_requirement_override.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def date_requirement_override @date_requirement_override end |
#in_required_date_group ⇒ Object
Returns the value of attribute in_required_date_group.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def in_required_date_group @in_required_date_group end |
#kind ⇒ Object
Returns the value of attribute kind.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def kind @kind end |
#label ⇒ Object
Returns the value of attribute label.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def label @label end |
#param ⇒ Object
Returns the value of attribute param.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def param @param end |
#select ⇒ Object
Returns the value of attribute select.
4 5 6 |
# File 'app/models/clark_kent/report_filter_option.rb', line 4 def select @select end |