Module: Tekeya
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/tekeya.rb,
lib/tekeya/entity.rb,
lib/tekeya/railtie.rb,
lib/tekeya/version.rb,
lib/tekeya/entity/group.rb,
lib/tekeya/configuration.rb,
lib/tekeya/feed/activity.rb,
lib/tekeya/feed/attachable.rb,
lib/tekeya/feed/attachment.rb,
lib/tekeya/feed/notification.rb,
lib/tekeya/feed/activity/item.rb,
lib/tekeya/errors/tekeya_error.rb,
lib/tekeya/errors/tekeya_fatal.rb,
lib/tekeya/feed/activity/resque.rb,
lib/tekeya/errors/tekeya_non_group.rb,
lib/tekeya/errors/tekeya_non_entity.rb,
lib/tekeya/feed/activity/resque/feed_copy.rb,
lib/tekeya/feed/activity/resque/untrack_feed.rb,
lib/tekeya/errors/tekeya_relation_non_existent.rb,
lib/tekeya/feed/activity/resque/activity_fanout.rb,
lib/tekeya/feed/activity/resque/delete_activity.rb,
lib/tekeya/errors/tekeya_relation_already_exists.rb
Defined Under Namespace
Modules: Entity, Errors, Feed Classes: Configuration, Engine
Constant Summary collapse
- VERSION =
"0.0.10"
Class Method Summary collapse
-
.configure {|Tekeya::Configuration.instance| ... } ⇒ Object
Configure Tekeya.
- .redis ⇒ Object
- .relations ⇒ Object
Class Method Details
.configure {|Tekeya::Configuration.instance| ... } ⇒ Object
Configure Tekeya
- Example
-
Tekeya.configure do |config|
redis_host = "localhost" redis_port = 9200 flockdb_host = 9200 flockdb_port = 9200
end
69 70 71 72 |
# File 'lib/tekeya.rb', line 69 def self.configure(&block) yield Tekeya::Configuration.instance Tekeya::Configuration.instance.setup_databases end |
.redis ⇒ Object
78 79 80 |
# File 'lib/tekeya.rb', line 78 def self.redis return Tekeya::Configuration.instance.redis end |
.relations ⇒ Object
74 75 76 |
# File 'lib/tekeya.rb', line 74 def self.relations return Tekeya::Configuration.instance.rebat end |