Module: Thunderer::ControllerAdditions::ClassMethods

Defined in:
lib/thunderer/controller_additions.rb

Instance Method Summary collapse

Instance Method Details

#thunderer_channels(*args) ⇒ Object



28
29
30
31
32
33
# File 'lib/thunderer/controller_additions.rb', line 28

def thunderer_channels(*args)
  options = args.extract_options!
  options.assert_valid_keys(:object)
  self.interpolation_object = options[:object]
  self.channels             = Array.wrap(args)
end