Sha256: d8af3657cbb43bb3554a1f5b82536bf8f1193b93bb8ccea5eeea4e16715907ce

Contents?: true

Size: 245 Bytes

Versions: 7

Compression:

Stored size: 245 Bytes

Contents

class Anoubis::CoreService
  attr_accessor :redis

  def initialize
    self.redis = Redis.new
  end

  def redis_prefix
    begin
      value = Rails.configuration.redis_prefix
    rescue
      return ''
    end
    return value + ':'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anoubis-1.0.12 app/services/anoubis/core_service.rb
anoubis-1.0.11 app/services/anoubis/core_service.rb
anoubis-1.0.10 app/services/anoubis/core_service.rb
anoubis-1.0.8 app/services/anoubis/core_service.rb
anoubis-1.0.7 app/services/anoubis/core_service.rb
anoubis-1.0.1 app/services/anoubis/core_service.rb
anoubis-1.0.0 app/services/anoubis/core_service.rb