Sha256: dae95f12cf3d6cb6bef226de5c4a1c45203843d610cd41c899948ad1b4432f15
Contents?: true
Size: 513 Bytes
Versions: 8
Compression:
Stored size: 513 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.connection.cache_store = ActiveSupport::Cache.lookup_store :mem_cache_store Highrise::Base.connection.store_options = { :expires_in => 60.seconds } end
Version data entries
8 entries across 8 versions & 4 rubygems