Class: ActivePermalink::Config

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/active_permalink/config.rb

Instance Method Summary collapse

Instance Method Details

#options_for(**options) ⇒ Object



15
16
17
18
19
20
21
22
23
24
25
# File 'lib/active_permalink/config.rb', line 15

def options_for(**options)
  options.reverse_merge(
    class_name:            class_name,
    querying:              querying,
    localized:             localized,
    locale_column:         locale_column,
    locale_accessors:      locale_accessors,
    fallthrough_accessors: fallthrough_accessors,
    fallbacks:             fallbacks
  )
end