Module: SnapshotInspector
- Defined in:
- lib/snapshot_inspector.rb,
lib/snapshot_inspector/engine.rb,
lib/snapshot_inspector/storage.rb,
lib/snapshot_inspector/version.rb,
app/models/snapshot_inspector/snapshot.rb,
lib/snapshot_inspector/test/rspec_helpers.rb,
app/models/snapshot_inspector/snapshot/type.rb,
lib/snapshot_inspector/test/test_unit_helpers.rb,
app/models/snapshot_inspector/snapshot/context.rb,
app/helpers/snapshot_inspector/snapshots_helper.rb,
app/models/snapshot_inspector/snapshot/mail_type.rb,
app/helpers/snapshot_inspector/application_helper.rb,
app/mailers/snapshot_inspector/application_mailer.rb,
lib/snapshot_inspector/test/action_mailer_headers.rb,
app/models/snapshot_inspector/snapshot/response_type.rb,
app/models/snapshot_inspector/snapshot/rspec_context.rb,
app/controllers/snapshot_inspector/snapshots_controller.rb,
app/models/snapshot_inspector/snapshot/test_unit_context.rb,
app/controllers/snapshot_inspector/application_controller.rb,
app/controllers/snapshot_inspector/snapshots/mail_controller.rb,
app/controllers/snapshot_inspector/snapshots/response_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, SnapshotsHelper, Test Classes: ApplicationController, ApplicationMailer, Configuration, Engine, Snapshot, SnapshotsController, Storage
Constant Summary collapse
- STORAGE_DIRECTORY =
"tmp/snapshot_inspector"
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
17 18 19 |
# File 'lib/snapshot_inspector.rb', line 17 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
36 37 38 39 |
# File 'lib/snapshot_inspector.rb', line 36 def self.configure initialize_configuration yield(configuration) end |
.initialize_configuration ⇒ Object
32 33 34 |
# File 'lib/snapshot_inspector.rb', line 32 def self.initialize_configuration self.configuration ||= Configuration.new end |