Class: HerokuSchemas::Pgbackups

Inherits:
Heroku::Command::Pgbackups
  • Object
show all
Defined in:
lib/heroku-schemas/pgbackups.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#appObject

Returns the value of attribute app.



5
6
7
# File 'lib/heroku-schemas/pgbackups.rb', line 5

def app
  @app
end

#argsObject

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_backupObject



10
11
12
# File 'lib/heroku-schemas/pgbackups.rb', line 10

def latest_backup
  pgbackup_client.get_latest_backup
end

#latest_backup_urlObject



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