Sha256: 03e492915cb93520e7b947d8414f968cf3ce9ec9fd3ad2cd9f7776d801480528

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

### Pusher Configuration

Add `gem 'pusher'` to your gem file, and add `//= require 'HyperMesh/pusher'` to your application.js file.

```ruby
# typically config/initializers/HyperMesh.rb
HyperMesh.configuration do |config|
  config.transport = :pusher
  config.opts = {
    app_id: '2xxxx2',
    key:    'dxxxxxxxxxxxxxxxxxx9',
    secret: '2xxxxxxxxxxxxxxxxxx2',
    encrypted: false # optional defaults to true
  }
  config.channel_prefix = 'syncromesh' # or any other string you want
end
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyper-mesh-0.5.0 docs/pusher_quickstart.md