Class: CloudfrontConfigService
- Inherits:
-
Object
- Object
- CloudfrontConfigService
- Defined in:
- lib/renuo/cli/app/services/cloudfront_config_service.rb
Instance Method Summary collapse
-
#initialize(bucket, bucket_alias, tags = []) ⇒ CloudfrontConfigService
constructor
A new instance of CloudfrontConfigService.
- #to_s ⇒ Object
Constructor Details
#initialize(bucket, bucket_alias, tags = []) ⇒ CloudfrontConfigService
Returns a new instance of CloudfrontConfigService.
2 3 4 5 6 |
# File 'lib/renuo/cli/app/services/cloudfront_config_service.rb', line 2 def initialize(bucket, bucket_alias, = []) @bucket = bucket @bucket_alias = bucket_alias @tags = end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/renuo/cli/app/services/cloudfront_config_service.rb', line 8 def to_s bucket_config.to_json.strip end |