Class: ClarkKent::ReportColumnConfig
- Inherits:
-
Object
- Object
- ClarkKent::ReportColumnConfig
- Defined in:
- app/models/clark_kent/report_config.rb
Instance Attribute Summary collapse
-
#custom_select ⇒ Object
Returns the value of attribute custom_select.
-
#extra_scopes ⇒ Object
Returns the value of attribute extra_scopes.
-
#group ⇒ Object
Returns the value of attribute group.
-
#includes ⇒ Object
Returns the value of attribute includes.
-
#joins ⇒ Object
Returns the value of attribute joins.
-
#link ⇒ Object
Returns the value of attribute link.
-
#name ⇒ Object
Returns the value of attribute name.
-
#order_sql ⇒ Object
Returns the value of attribute order_sql.
-
#summarizable ⇒ Object
Returns the value of attribute summarizable.
-
#time_format ⇒ Object
Returns the value of attribute time_format.
-
#time_zone_column ⇒ Object
Returns the value of attribute time_zone_column.
-
#where ⇒ Object
Returns the value of attribute where.
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(params = {}) ⇒ ReportColumnConfig
constructor
A new instance of ReportColumnConfig.
Constructor Details
#initialize(params = {}) ⇒ ReportColumnConfig
Returns a new instance of ReportColumnConfig.
16 17 18 |
# File 'app/models/clark_kent/report_config.rb', line 16 def initialize params = {} params.each { |key, value| send "#{key}=", value } end |
Instance Attribute Details
#custom_select ⇒ Object
Returns the value of attribute custom_select.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def custom_select @custom_select end |
#extra_scopes ⇒ Object
Returns the value of attribute extra_scopes.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def extra_scopes @extra_scopes end |
#group ⇒ Object
Returns the value of attribute group.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def group @group end |
#includes ⇒ Object
Returns the value of attribute includes.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def includes @includes end |
#joins ⇒ Object
Returns the value of attribute joins.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def joins @joins end |
#link ⇒ Object
Returns the value of attribute link.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def link @link end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def name @name end |
#order_sql ⇒ Object
Returns the value of attribute order_sql.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def order_sql @order_sql end |
#summarizable ⇒ Object
Returns the value of attribute summarizable.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def summarizable @summarizable end |
#time_format ⇒ Object
Returns the value of attribute time_format.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def time_format @time_format end |
#time_zone_column ⇒ Object
Returns the value of attribute time_zone_column.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def time_zone_column @time_zone_column end |
#where ⇒ Object
Returns the value of attribute where.
15 16 17 |
# File 'app/models/clark_kent/report_config.rb', line 15 def where @where end |
Instance Method Details
#id ⇒ Object
20 21 22 |
# File 'app/models/clark_kent/report_config.rb', line 20 def id name end |