Module: Moxie

Defined in:
lib/moxie.rb,
lib/moxie/id.rb,
lib/moxie/cli.rb,
lib/moxie/store.rb,
lib/moxie/errors.rb,
lib/moxie/finders.rb,
lib/moxie/version.rb,
lib/moxie/transforms.rb,
lib/moxie/application.rb,
lib/moxie/environment.rb

Defined Under Namespace

Modules: Finders, Subcommands, Transforms Classes: Application, CLI, Environment, ID, Store, Thor

Constant Summary collapse

REDIS_NAMESPACE =
'moxie'
Error =
Class.new(StandardError)
NotFound =
Class.new(Error)
Exists =
Class.new(Error)
VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.redisObject



22
23
24
# File 'lib/moxie.rb', line 22

def self.redis
  Redis::Namespace.new(REDIS_NAMESPACE, redis: Redis.current)
end