Show:

Streams.Rule Class

Extends Base.Streams.Rule
Module: Streams

Class representing 'Rule' rows in the 'Streams' database
rules applied on the user's side for notifications coming in

Constructor

Streams.Rule

(
  • fields
)

Parameters:

  • fields Object

    The fields values to initialize table row as an associative array of {column: value} pairs

Item Index

Methods

Methods

beforeSave

(
  • value
  • callback
)

Calculate ordinal for the rule

Parameters:

setUp

()

The setUp() method is called the first time an object of this class is constructed.