Funicular::Store class of PicoRuby

Singleton methods

__belongs_to

Funicular::Store.__belongs_to() -> Symbol?

__cable_binding

Funicular::Store.__cable_binding() -> SubscribesTo?

__cable_url

Funicular::Store.__cable_url() -> String?

__clear_all!

Funicular::Store.__clear_all!() -> nil

__cleared_handlers

Funicular::Store.__cleared_handlers() -> Hash[Symbol, Proc?]?

__consumer

Funicular::Store.__consumer() -> Funicular::Cable::Consumer

__database

Funicular::Store.__database() -> String?

__expires_in

Funicular::Store.__expires_in() -> Integer?

__handle_dispatch

Funicular::Store.__handle_dispatch(Symbol event, untyped payload) -> void

__kvs

Funicular::Store.__kvs() -> IndexedDB::KVS

__kvs_store_name

Funicular::Store.__kvs_store_name() -> String?

__scope_keys

Funicular::Store.__scope_keys() -> Array[Symbol]?

__source

Funicular::Store.__source() -> untyped

belongs_to

Funicular::Store.belongs_to(Symbol name) -> Symbol

cable_url

Funicular::Store.cable_url(String url) -> String

cleared_on

Funicular::Store.cleared_on(*Symbol event_names) ?{ (untyped) -> void } -> void

database

Funicular::Store.database(String name) -> String

dispatch

Funicular::Store.dispatch(Symbol | String event, ?untyped payload) -> nil

expires_in

Funicular::Store.expires_in(Integer seconds) -> Integer

kvs_store

Funicular::Store.kvs_store(String name) -> String

scope

Funicular::Store.scope(*Symbol keys) -> Array[Symbol]

scope_class

Funicular::Store.scope_class() -> singleton(Funicular::Store::Scope)

source

Funicular::Store.source(untyped model_class) -> untyped

subscribes_to

Funicular::Store.subscribes_to(String channel_name, params: ^(Funicular::Store::Scope) -> Hash[Symbol, untyped]) { (untyped, Funicular::Store::Scope) -> void } -> SubscribesTo

where

Funicular::Store.where(**untyped scope_kwargs) -> Funicular::Store::Scope
Tags: class