Class: RouteTranslator::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/route_translator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#available_localesObject

Returns the value of attribute available_locales

Returns:

  • (Object)

    the current value of available_locales



16
17
18
# File 'lib/route_translator.rb', line 16

def available_locales
  @available_locales
end

#disable_fallbackObject

Returns the value of attribute disable_fallback

Returns:

  • (Object)

    the current value of disable_fallback



16
17
18
# File 'lib/route_translator.rb', line 16

def disable_fallback
  @disable_fallback
end

#force_localeObject

Returns the value of attribute force_locale

Returns:

  • (Object)

    the current value of force_locale



16
17
18
# File 'lib/route_translator.rb', line 16

def force_locale
  @force_locale
end

#generate_unlocalized_routesObject

Returns the value of attribute generate_unlocalized_routes

Returns:

  • (Object)

    the current value of generate_unlocalized_routes



16
17
18
# File 'lib/route_translator.rb', line 16

def generate_unlocalized_routes
  @generate_unlocalized_routes
end

#generate_unnamed_unlocalized_routesObject

Returns the value of attribute generate_unnamed_unlocalized_routes

Returns:

  • (Object)

    the current value of generate_unnamed_unlocalized_routes



16
17
18
# File 'lib/route_translator.rb', line 16

def generate_unnamed_unlocalized_routes
  @generate_unnamed_unlocalized_routes
end

#hide_localeObject

Returns the value of attribute hide_locale

Returns:

  • (Object)

    the current value of hide_locale



16
17
18
# File 'lib/route_translator.rb', line 16

def hide_locale
  @hide_locale
end

#host_localesObject

Returns the value of attribute host_locales

Returns:

  • (Object)

    the current value of host_locales



16
17
18
# File 'lib/route_translator.rb', line 16

def host_locales
  @host_locales
end

#locale_param_keyObject

Returns the value of attribute locale_param_key

Returns:

  • (Object)

    the current value of locale_param_key



16
17
18
# File 'lib/route_translator.rb', line 16

def locale_param_key
  @locale_param_key
end

#locale_segment_procObject

Returns the value of attribute locale_segment_proc

Returns:

  • (Object)

    the current value of locale_segment_proc



16
17
18
# File 'lib/route_translator.rb', line 16

def locale_segment_proc
  @locale_segment_proc
end

#verify_host_path_consistencyObject

Returns the value of attribute verify_host_path_consistency

Returns:

  • (Object)

    the current value of verify_host_path_consistency



16
17
18
# File 'lib/route_translator.rb', line 16

def verify_host_path_consistency
  @verify_host_path_consistency
end