Sha256: 7909fdffb4cb46bb3ffd7deac004304fa8711df0a5bcfe1659df2ec4e1c69d0e

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

if Rails.env != 'test' then
  Highrise::Base.site = 'https://example.com.i'
  # For backward compatability
  if Highrise::Base.respond_to? :user
    Highrise::Base.user = 'my_fancy_auth_token'
  else 
    Highrise::Base.site = 'https://my_fancy_auth_token@example.com.i'
  end
  # The cache store can be anything that ActiveSupport can handle
  Highrise::Base.cache_store = ActiveSupport::Cache.lookup_store :mem_cache_store
  Highrise::Base.store_options = { :expires_in => 60.seconds }
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
kmayer-highrise-1.0.1 examples/config_initializers_highrise.rb
highrise-1.2.0 examples/config_initializers_highrise.rb
highrise-1.0.4 examples/config_initializers_highrise.rb