Class: TFSGraph::Config
- Inherits:
-
Object
- Object
- TFSGraph::Config
- Defined in:
- lib/tfs_graph/config.rb
Instance Attribute Summary collapse
-
#graph(repo_type: nil) ⇒ Object
Returns the value of attribute graph.
-
#tfs ⇒ Object
Returns the value of attribute tfs.
Instance Method Summary collapse
Instance Attribute Details
#graph(repo_type: nil) ⇒ Object
Returns the value of attribute graph.
3 4 5 |
# File 'lib/tfs_graph/config.rb', line 3 def graph @graph end |
#tfs ⇒ Object
Returns the value of attribute tfs.
3 4 5 |
# File 'lib/tfs_graph/config.rb', line 3 def tfs @tfs end |
Instance Method Details
#redis(url: url, namespace: namespace) ⇒ Object
5 6 7 8 9 |
# File 'lib/tfs_graph/config.rb', line 5 def redis(url: url, namespace: namespace) ServerRegistry.register do |r| r.redis url: url, namespace: namespace end end |