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

Version Path
kmayer-highrise-0.12.0 examples/config_initializers_highrise.rb
kmayer-highrise-0.13.0 examples/config_initializers_highrise.rb
rogerio-augusto-highrise-2.0.4 examples/config_initializers_highrise.rb
rogerio-augusto-highrise-2.0.3 examples/config_initializers_highrise.rb
rogerio-augusto-highrise-2.0.2 examples/config_initializers_highrise.rb
highrise-2.0.1 examples/config_initializers_highrise.rb
highrise-2.0.0 examples/config_initializers_highrise.rb
soleone-highrise-0.13.3 examples/config_initializers_highrise.rb