Class: TFSGraph::AbstractStore
- Inherits:
-
Object
- Object
- TFSGraph::AbstractStore
- Includes:
- StoreHelpers, TFSClient, TFSHelpers
- Defined in:
- lib/tfs_graph/abstract_store.rb
Direct Known Subclasses
BranchStore, ChangesetMergeStore, ChangesetStore, ProjectStore
Constant Summary
Constants included from StoreHelpers
Constants included from TFSClient
TFSClient::InvalidConfig, TFSClient::REQUIRED_KEYS
Instance Method Summary collapse
Methods included from StoreHelpers
#flush_all, #last_updated_on, #mark_as_updated
Methods included from TFSHelpers
#base_username, #branch_base, #branch_path_to_name, #branch_project, #odata_path_to_server_path, #scrub_changeset, #server_path_to_odata_path
Methods included from TFSClient
#endpoint, #setup, #tfs, #tfs=
Instance Method Details
#cache_all(attr_set) ⇒ Object
19 20 21 |
# File 'lib/tfs_graph/abstract_store.rb', line 19 def cache_all(attr_set) attr_set.map {|attrs| cache(attrs) } end |
#fetch_all ⇒ Object
15 16 17 |
# File 'lib/tfs_graph/abstract_store.rb', line 15 def fetch_all normalize root_query.run end |
#fetch_and_cache ⇒ Object
11 12 13 |
# File 'lib/tfs_graph/abstract_store.rb', line 11 def fetch_and_cache cache_all fetch_all end |