Class: ActiveStorage::CloudTransformations::Config
- Inherits:
-
Object
- Object
- ActiveStorage::CloudTransformations::Config
- Defined in:
- lib/active_storage/cloud_transformations/config.rb
Instance Attribute Summary collapse
-
#crucible_endpoint ⇒ Object
Returns the value of attribute crucible_endpoint.
-
#presigned_url_expiration ⇒ Object
Returns the value of attribute presigned_url_expiration.
-
#use_presigned_urls ⇒ Object
Returns the value of attribute use_presigned_urls.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 |
# File 'lib/active_storage/cloud_transformations/config.rb', line 8 def initialize @crucible_endpoint = "https://huuabwxpqf.execute-api.us-west-2.amazonaws.com/prod" @use_presigned_urls = false @presigned_url_expiration = 3600 end |
Instance Attribute Details
#crucible_endpoint ⇒ Object
Returns the value of attribute crucible_endpoint.
4 5 6 |
# File 'lib/active_storage/cloud_transformations/config.rb', line 4 def crucible_endpoint @crucible_endpoint end |
#presigned_url_expiration ⇒ Object
Returns the value of attribute presigned_url_expiration.
6 7 8 |
# File 'lib/active_storage/cloud_transformations/config.rb', line 6 def presigned_url_expiration @presigned_url_expiration end |
#use_presigned_urls ⇒ Object
Returns the value of attribute use_presigned_urls.
5 6 7 |
# File 'lib/active_storage/cloud_transformations/config.rb', line 5 def use_presigned_urls @use_presigned_urls end |