class Citrus::Components::Channel

Channel

Attributes

service[R]

Public Class Methods

new(app, args={}) click to toggle source

Initialize the component

@param [Object] app @param [Hash] args

# File lib/citrus/components/channel.rb, line 25
def initialize app, args={}
  @service = Common::Service::ChannelService.new app, args

  this = self
  @app.define_singleton_method :channel_service, proc{ this.service }
end