module Sorry::Rails
Mail rails plugin definition for the Sorry
gem.
Constants
- PLUGIN_VERSION
Define the JS plugin version to be used by the script tag generator.
- VERSION
Define version number on release.
Attributes
configuration[RW]
Attr to store the configuration.
Public Class Methods
configure() { |configuration| ... }
click to toggle source
Allow configuration by block.
# File lib/sorry/rails.rb, line 26 def configure # Singleton the config instance. self.configuration ||= Configuration.new # Yield the config block. yield(configuration) # Return the config. self.configuration end