Sha256: b66cc64b10429b1358750263954cb9bacc20ad27bacbca559782acc94c8a613a

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kmayer-highrise-0.11.1 examples/config_initializers_highrise.rb