Module: ActiveInteraction
- Defined in:
- lib/roqua/core_ext/active_interaction/filters/duration_filter.rb
Defined Under Namespace
Classes: Base, DurationFilter
Class Method Summary collapse
-
.duration(*attributes, options = {}) ⇒ Object
Creates accessors for the attributes and ensures that the value passed to the attributes is a ActiveSupport::Duration.
Class Method Details
.duration(*attributes, options = {}) ⇒ Object
Creates accessors for the attributes and ensures that the value passed to
the attributes is a ActiveSupport::Duration.
Value can be a hash with a value and unit key
|
# File 'lib/roqua/core_ext/active_interaction/filters/duration_filter.rb', line 7
|