Module: Postpeek
- Defined in:
- lib/postpeek.rb,
lib/postpeek/message.rb,
lib/postpeek/railtie.rb,
lib/postpeek/version.rb,
lib/postpeek/id_generator.rb,
lib/postpeek/storage/base.rb,
lib/postpeek/configuration.rb,
lib/postpeek/decoders/base.rb,
lib/postpeek/decoders/base64.rb,
lib/postpeek/decoders/errors.rb,
lib/postpeek/delivery_method.rb,
lib/postpeek/hooks/lifecycle.rb,
lib/postpeek/metadata/builder.rb,
lib/postpeek/decoders/registry.rb,
lib/postpeek/decoders/seven_bit.rb,
lib/postpeek/metadata/extractor.rb,
lib/postpeek/storage/file_system.rb,
lib/postpeek/metadata/interceptor.rb,
lib/postpeek/decoders/quoted_printable.rb,
lib/postpeek/metadata/action_mailer_context.rb
Defined Under Namespace
Modules: Decoders, Hooks, IdGenerator, Metadata, Storage Classes: Configuration, DeliveryMethod, Error, Message, Railtie
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
- .configuration ⇒ Configuration
-
.configure {|config| ... } ⇒ Object
Yields the configuration object for block-based setup.
-
.reset_configuration! ⇒ Object
Resets configuration to defaults.
Class Method Details
.configuration ⇒ Configuration
8 9 10 |
# File 'lib/postpeek.rb', line 8 def configuration @configuration ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
Yields the configuration object for block-based setup.
14 15 16 17 |
# File 'lib/postpeek.rb', line 14 def configure yield configuration configuration.validate! end |
.reset_configuration! ⇒ Object
Resets configuration to defaults. Intended for use in tests only.
20 21 22 |
# File 'lib/postpeek.rb', line 20 def reset_configuration! @configuration = Configuration.new end |