Class: ActiveTouch::Configuration
- Inherits:
-
Object
- Object
- ActiveTouch::Configuration
- Defined in:
- lib/active_touch/configuration.rb
Instance Attribute Summary collapse
-
#async ⇒ Object
Returns the value of attribute async.
-
#ignored_attributes ⇒ Object
Returns the value of attribute ignored_attributes.
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#timestamp_attribute ⇒ Object
Returns the value of attribute timestamp_attribute.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
18 19 20 21 22 23 |
# File 'lib/active_touch/configuration.rb', line 18 def initialize @async = false @ignored_attributes = [:updated_at] @queue = 'default' @timestamp_attribute = :updated_at end |
Instance Attribute Details
#async ⇒ Object
Returns the value of attribute async.
16 17 18 |
# File 'lib/active_touch/configuration.rb', line 16 def async @async end |
#ignored_attributes ⇒ Object
Returns the value of attribute ignored_attributes.
16 17 18 |
# File 'lib/active_touch/configuration.rb', line 16 def ignored_attributes @ignored_attributes end |
#queue ⇒ Object
Returns the value of attribute queue.
16 17 18 |
# File 'lib/active_touch/configuration.rb', line 16 def queue @queue end |
#timestamp_attribute ⇒ Object
Returns the value of attribute timestamp_attribute.
16 17 18 |
# File 'lib/active_touch/configuration.rb', line 16 def @timestamp_attribute end |