Class: BBMB::Html::State::Info

Inherits:
Global
  • Object
show all
Defined in:
lib/bbmb/html/state/info.rb

Constant Summary collapse

VIEW =
Html::View::Info

Instance Method Summary collapse

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

#initObject



13
14
15
16
17
18
19
# File 'lib/bbmb/html/state/info.rb', line 13

def init
  model = OpenStruct.new
  model.event = @model[:event]
  model.message = @model[:message]
  @model = model
  super
end