Class: HerokuPgBackupsArchive::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/heroku_pg_backups_archive/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
15
16
17
# File 'lib/heroku_pg_backups_archive/config.rb', line 12

def initialize
  @heroku_toolbelt_path = "vendor/heroku-toolbelt/bin/heroku"
  @aws_access_key_id = ENV["AWS_ACCESS_KEY_ID"]
  @aws_secret_access_key = ENV["AWS_SECRET_ACCESS_KEY"]
  @aws_region = "us-east-1"
end

Instance Attribute Details

#after_completeObject

Returns the value of attribute after_complete.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def after_complete
  @after_complete
end

#app_nameObject

Returns the value of attribute app_name.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def app_name
  @app_name
end

#aws_access_key_idObject

Returns the value of attribute aws_access_key_id.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def aws_access_key_id
  @aws_access_key_id
end

#aws_regionObject

Returns the value of attribute aws_region.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def aws_region
  @aws_region
end

#aws_secret_access_keyObject

Returns the value of attribute aws_secret_access_key.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def aws_secret_access_key
  @aws_secret_access_key
end

#bucket_nameObject

Returns the value of attribute bucket_name.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def bucket_name
  @bucket_name
end

#heroku_toolbelt_pathObject

Returns the value of attribute heroku_toolbelt_path.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def heroku_toolbelt_path
  @heroku_toolbelt_path
end

#sse_customer_keyObject

Returns the value of attribute sse_customer_key.



3
4
5
# File 'lib/heroku_pg_backups_archive/config.rb', line 3

def sse_customer_key
  @sse_customer_key
end