Class: HerokuPgBackupsArchive::Config
- Inherits:
-
Object
- Object
- HerokuPgBackupsArchive::Config
- Defined in:
- lib/heroku_pg_backups_archive/config.rb
Instance Attribute Summary collapse
-
#after_complete ⇒ Object
Returns the value of attribute after_complete.
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#aws_access_key_id ⇒ Object
Returns the value of attribute aws_access_key_id.
-
#aws_region ⇒ Object
Returns the value of attribute aws_region.
-
#aws_secret_access_key ⇒ Object
Returns the value of attribute aws_secret_access_key.
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#heroku_toolbelt_path ⇒ Object
Returns the value of attribute heroku_toolbelt_path.
-
#sse_customer_key ⇒ Object
Returns the value of attribute sse_customer_key.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_complete ⇒ Object
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_name ⇒ Object
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_id ⇒ Object
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_region ⇒ Object
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_key ⇒ Object
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_name ⇒ Object
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_path ⇒ Object
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_key ⇒ Object
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 |