Class: PgExport::Listeners::Interactive::EncryptDump
- Inherits:
-
PgExport::Listeners::InteractiveListener
- Object
- PgExport::Listeners::InteractiveListener
- PgExport::Listeners::Interactive::EncryptDump
- Defined in:
- lib/pg_export/listeners/interactive/encrypt_dump.rb
Instance Method Summary collapse
Methods inherited from PgExport::Listeners::InteractiveListener
Instance Method Details
#on_step ⇒ Object
9 10 11 |
# File 'lib/pg_export/listeners/interactive/encrypt_dump.rb', line 9 def on_step(*) @spinner = build_spinner('Encrypting') end |
#on_step_succeeded(event) ⇒ Object
13 14 15 |
# File 'lib/pg_export/listeners/interactive/encrypt_dump.rb', line 13 def on_step_succeeded(event) @spinner.success([success, event[:value][:dump]].join(' ')) end |