Module: Windbag

Defined in:
lib/windbag.rb,
lib/windbag/engine.rb,
lib/windbag/version.rb,
lib/windbag/user_class.rb,
app/models/windbag/channel.rb,
app/models/windbag/notification.rb,
app/models/windbag/subscription.rb,
app/helpers/windbag/application_helper.rb,
app/controllers/windbag/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, UserClass Classes: ApplicationController, Channel, Engine, Notification, Subscription

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.global_channelObject


5
6
7
# File 'lib/windbag.rb', line 5

def self.global_channel
  Channel.find_or_create_by_name('global-notifications')
end