Module: Mayu::State::ReducerDSL

Extended by:
T::Helpers, T::Sig
Included in:
Loader::ReducerBuilder
Defined in:
lib/mayu/state/loader.rb

Instance Method Summary collapse

Instance Method Details

#actions(&block) ⇒ Object



116
117
# File 'lib/mayu/state/loader.rb', line 116

def actions(&block)
end

#fetch(url, **options) ⇒ Object



94
95
# File 'lib/mayu/state/loader.rb', line 94

def fetch(url, **options)
end

#initial_state(**kwargs) ⇒ Object



82
83
# File 'lib/mayu/state/loader.rb', line 82

def initial_state(**kwargs)
end

#reducer(action, &reducer) ⇒ Object



90
91
# File 'lib/mayu/state/loader.rb', line 90

def reducer(action, &reducer)
end

#selectors(&block) ⇒ Object



105
106
# File 'lib/mayu/state/loader.rb', line 105

def selectors(&block)
end