Class: ViewComponentReflex::StateAdapter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/view_component_reflex/state_adapter/base.rb

Direct Known Subclasses

Dom, Memory, Redis, Session

Class Method Summary collapse

Class Method Details

.extend_component(component) ⇒ Object



21
22
23
# File 'lib/view_component_reflex/state_adapter/base.rb', line 21

def self.extend_component(component)
  # stub
end

.extend_reflex(component) ⇒ Object



25
26
27
# File 'lib/view_component_reflex/state_adapter/base.rb', line 25

def self.extend_reflex(component)
  # stub
end

.set_state(request, controller, key, new_state) ⇒ Object



9
10
11
# File 'lib/view_component_reflex/state_adapter/base.rb', line 9

def self.set_state(request, controller, key, new_state)
  # stub
end

.state(request, key) ⇒ Object



5
6
7
# File 'lib/view_component_reflex/state_adapter/base.rb', line 5

def self.state(request, key)
  # stub
end

.store_state(request, key, new_state = {}) ⇒ Object



13
14
15
# File 'lib/view_component_reflex/state_adapter/base.rb', line 13

def self.store_state(request, key, new_state = {})
  # stub
end

.wrap_write_asyncObject



17
18
19
# File 'lib/view_component_reflex/state_adapter/base.rb', line 17

def self.wrap_write_async
  yield
end