Class: BBMB::Html::State::FavoritesResult

Inherits:
Result
  • Object
show all
Defined in:
lib/bbmb/html/state/favorites_result.rb

Constant Summary collapse

VIEW =
View::FavoritesResult

Instance Method Summary collapse

Methods inherited from Result

#direct_argument_keys, #init

Methods inherited from Global

#direct_argument_keys, #direct_arguments, #direct_request?, #initialize, #logout, mandatory, #requested_event, #trigger, #user_input

Constructor Details

This class inherits a constructor from BBMB::Html::State::Global

Instance Method Details

#_orderObject



15
16
17
# File 'lib/bbmb/html/state/favorites_result.rb', line 15

def _order 
  _customer.favorites
end

#direct_eventObject



12
13
14
# File 'lib/bbmb/html/state/favorites_result.rb', line 12

def direct_event
  [:search_favorites, {:query => @query}]
end