Sha256: b76ed45c150d4e7ff176302aac83af7ffde458e2a947c9ea4ce97f95606703ea

Contents?: true

Size: 618 Bytes

Versions: 17

Compression:

Stored size: 618 Bytes

Contents

# frozen_string_literal: true

Tanshuku.configure do |config|
  # Your default URL options for `url_for`. Defaults to `{}`.
  # config.default_url_options = { Your configurations here }

  # Your default error reporter that is used when failed to shorten a URL. Defaults to
  # `Tanshuku::Configuration::DefaultExceptionReporter`. It logs the exception and the original URL with
  # `Rails.logger.warn`. This value should respond to `#call` with keyword arguments `exception:` and `original_url:`.
  # config.exception_reporter =
  #   lambda { |exception:, original_url:|
  #     Your configurations here
  #   }
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tanshuku-4.0.0 lib/generators/templates/initializer.rb
tanshuku-2.0.1 lib/generators/templates/initializer.rb
tanshuku-1.0.1 lib/generators/templates/initializer.rb
tanshuku-3.0.3 lib/generators/templates/initializer.rb
tanshuku-3.0.2 lib/generators/templates/initializer.rb
tanshuku-3.0.1 lib/generators/templates/initializer.rb
tanshuku-3.0.0 lib/generators/templates/initializer.rb
tanshuku-2.0.0 lib/generators/templates/initializer.rb
tanshuku-1.0.0 lib/generators/templates/initializer.rb
tanshuku-0.0.20 lib/generators/templates/initializer.rb
tanshuku-0.0.19 lib/generators/templates/initializer.rb
tanshuku-0.0.18 lib/generators/templates/initializer.rb
tanshuku-0.0.17 lib/generators/templates/initializer.rb
tanshuku-0.0.16 lib/generators/templates/initializer.rb
tanshuku-0.0.15 lib/generators/templates/initializer.rb
tanshuku-0.0.14 lib/generators/templates/initializer.rb
tanshuku-0.0.13 lib/generators/templates/initializer.rb