Class: HerokuSchemas::Pgbackups
- Inherits:
-
Heroku::Command::Pgbackups
- Object
- Heroku::Command::Pgbackups
- HerokuSchemas::Pgbackups
- Defined in:
- lib/heroku-schemas/pgbackups.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#args ⇒ Object
Returns the value of attribute args.
Instance Method Summary collapse
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
5 6 7 |
# File 'lib/heroku-schemas/pgbackups.rb', line 5 def app @app end |
#args ⇒ Object
Returns the value of attribute args.
5 6 7 |
# File 'lib/heroku-schemas/pgbackups.rb', line 5 def args @args end |
Instance Method Details
#latest_backup ⇒ Object
10 11 12 |
# File 'lib/heroku-schemas/pgbackups.rb', line 10 def latest_backup pgbackup_client.get_latest_backup end |
#latest_backup_url ⇒ Object
14 15 16 |
# File 'lib/heroku-schemas/pgbackups.rb', line 14 def latest_backup_url latest_backup['public_url'] end |
#validate_arguments! ⇒ Object
7 8 |
# File 'lib/heroku-schemas/pgbackups.rb', line 7 def validate_arguments! end |