Class: RedisRecord

Inherits:
Object
  • Object
show all
Includes:
ActiveAttr::Model, Base, DataTypes, Filters, Sorting
Defined in:
lib/redis_record.rb,
lib/redis_record/version.rb

Defined Under Namespace

Modules: Base, DataTypes, Filters, Sorting

Constant Summary collapse

VERSION =
"0.0.1"
@@REDIS =
nil

Class Method Summary collapse

Methods included from Base

#destroy, #key, #save, #update_attributes

Class Method Details

.REDISObject



17
18
19
# File 'lib/redis_record.rb', line 17

def self.REDIS
  @@REDIS
end

.REDIS=(client) ⇒ Object



20
21
22
# File 'lib/redis_record.rb', line 20

def self.REDIS=(client)
  @@REDIS = client
end