Sha256: 93c01909d6fe05fcc74abc0cc26719fe3276ce4ca35b888eacabf4fa62a9a1eb

Contents?: true

Size: 1008 Bytes

Versions: 24

Compression:

Stored size: 1008 Bytes

Contents

# BridgeCache

https://www.getbridge.com/

Bridge Cache is a data dump engine used to cache remote bridge data into a local database.

The application mimics the bridge data model and will copy csv rows directly into the local
data store without any extra configuration

## Setup
 gem install 'bridge_cache'

 rake db:migrate

 Enable Bridge data dumps through the administrative interface in bridge, or have your bridge
 admin enable it for you.

## Usage

  To Import an entire csv
  BridgeCache::User.import_from_csv(path_to_csv)

  Import a list of models from a data dump automatically.  This feature requires a queue manager
  like sidekiq or delayed jobs

  BridgeCache::Jobs::ImportStart.perform_later(
    bridge_base_url, (https://yourbridgeurl.bridgeapp.com)
    bridge_api_key, (API key generated through bridge admin interface)
    bridge_api_secret, (API secret generated through bridge admin interface)
    [
      'user',
      'group',
      'domain',
      'course_template'
    ],
    [])

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
bridge_cache-0.2.8 README.rdoc
bridge_cache-0.2.7 README.rdoc
bridge_cache-0.2.6 README.rdoc
bridge_cache-0.2.5 README.rdoc
bridge_cache-0.2.4 README.rdoc
bridge_cache-0.2.3 README.rdoc
bridge_cache-0.2.2 README.rdoc
bridge_cache-0.2.1 README.rdoc
bridge_cache-0.2.0 README.rdoc
bridge_cache-0.1.0 README.rdoc
bridge_cache-0.0.23 README.rdoc
bridge_cache-0.0.22 README.rdoc
bridge_cache-0.0.21 README.rdoc
bridge_cache-0.0.20 README.rdoc
bridge_cache-0.0.19 README.rdoc
bridge_cache-0.0.18 README.rdoc
bridge_cache-0.0.17 README.rdoc
bridge_cache-0.0.16 README.rdoc
bridge_cache-0.0.14 README.rdoc
bridge_cache-0.0.13 README.rdoc