Sha256: 327ced9f803331b65924e3269bdc29d5f3cbd1564068c46191fde88aa21a8a63

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

require 'determinator/retrieve/routemaster'

Determinator.configure(
  retrieval: Determinator::Retrieve::Routemaster.new(
    discovery_url: 'https://florence.dev/'
    retrieval_cache: ActiveSupport::Cache::MemoryStore.new(expires_in: 1.minute)
  )
  # The following would allow tracking of errors in NewRelic
  # errors: -> error { NewRelic::Agent.notice_error(error) }
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
determinator-0.12.1 examples/determinator-rails/config/initializers/determinator.rb
determinator-0.12.0 examples/determinator-rails/config/initializers/determinator.rb
determinator-0.11.1 examples/determinator-rails/config/initializers/determinator.rb
determinator-0.11.0 examples/determinator-rails/config/initializers/determinator.rb
determinator-0.10.0 examples/determinator-rails/config/initializers/determinator.rb