Class: ClarkKent::ReportFilterOption

Inherits:
Object
  • Object
show all
Defined in:
app/models/clark_kent/report_filter_option.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#collectionObject

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_overrideObject

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_groupObject

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

#kindObject

Returns the value of attribute kind.



4
5
6
# File 'app/models/clark_kent/report_filter_option.rb', line 4

def kind
  @kind
end

#labelObject

Returns the value of attribute label.



4
5
6
# File 'app/models/clark_kent/report_filter_option.rb', line 4

def label
  @label
end

#paramObject

Returns the value of attribute param.



4
5
6
# File 'app/models/clark_kent/report_filter_option.rb', line 4

def param
  @param
end

#selectObject

Returns the value of attribute select.



4
5
6
# File 'app/models/clark_kent/report_filter_option.rb', line 4

def select
  @select
end