Class: CloudfrontConfigService

Inherits:
Object
  • Object
show all
Defined in:
lib/renuo/cli/app/services/cloudfront_config_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(bucket, tags = []) ⇒ CloudfrontConfigService

Returns a new instance of CloudfrontConfigService.



4
5
6
7
# File 'lib/renuo/cli/app/services/cloudfront_config_service.rb', line 4

def initialize(bucket, tags = [])
  @bucket = bucket
  @tags = tags
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/renuo/cli/app/services/cloudfront_config_service.rb', line 9

def to_s
  bucket_config.to_json.strip
end