Module: Pigeon

Defined in:
lib/pigeon.rb,
lib/pigeon/utils.rb,
lib/pigeon/engine.rb,
lib/pigeon/errors.rb,
lib/pigeon/nuntium.rb,
lib/pigeon/version.rb,
lib/pigeon/verboice.rb,
app/models/pigeon/channel.rb,
app/helpers/pigeon/renderer.rb,
app/helpers/pigeon/tag_helper.rb,
app/helpers/pigeon/text_helper.rb,
app/models/pigeon/nested_scopes.rb,
app/helpers/pigeon/renderer/base.rb,
app/models/pigeon/channel_schema.rb,
app/helpers/pigeon/channel_helper.rb,
app/models/pigeon/nuntium_channel.rb,
app/helpers/pigeon/template_helper.rb,
app/models/pigeon/nested_attribute.rb,
app/models/pigeon/verboice_channel.rb,
app/models/pigeon/channel_attribute.rb,
app/controllers/pigeon/twilio_controller.rb,
app/controllers/pigeon/twitter_controller.rb,
app/helpers/pigeon/renderer/channel_renderer.rb

Defined Under Namespace

Modules: ChannelHelper, NestedScopes, Renderer, TagHelper, TemplateHelper, TextHelper, Utils Classes: ApiException, Channel, ChannelAttribute, ChannelErrors, ChannelInvalid, ChannelSchema, Config, Engine, NestedAttribute, Nuntium, NuntiumChannel, NuntiumException, PigeonError, TwilioController, TwitterController, Verboice, VerboiceChannel, VerboiceException

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.configObject



26
27
28
# File 'lib/pigeon.rb', line 26

def self.config
  @config ||= Config.new
end

.rootObject



34
35
36
# File 'lib/pigeon.rb', line 34

def self.root
  File.expand_path '../..', __FILE__
end

.setup {|self.config| ... } ⇒ Object

Yields:



30
31
32
# File 'lib/pigeon.rb', line 30

def self.setup &block
  yield self.config
end