@cable_ready/invoke_operations

5.0.0 • Public • Published

Package @cable_ready/invoke_operations

A collection of invoke operations meant to be used with cable_ready.

Installation

Install @cable_ready/invoke_operations in your application:

yarn add @cable_ready/invoke_operations

# or

npm install --save @cable_ready/invoke_operations

Usage

Add the invoke operations to CableReady:

// app/javascript/packs/application.js

import CableReady from 'cable_ready'
import InvokeOperations from '@cable_ready/invoke_operations'

CableReady.addOperations(InvokeOperations)

And configure CableReady on the Ruby side to include the new operation:

# config/initializers/cable_ready.rb

CableReady.configure do |config|
  config.add_operation_name :invoke_method
end

Readme

Keywords

none

Package Sidebar

Install

npm i @cable_ready/invoke_operations

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

4.03 kB

Total Files

6

Last publish

Collaborators

  • hopsoft
  • marcoroth
  • julianrubisch
  • cableready-bot