Sha256: b60651835174125db1afa8d15a9ebd270eec61e795937bf1f8b1bfc919d2d881
Contents?: true
Size: 433 Bytes
Versions: 12
Compression:
Stored size: 433 Bytes
Contents
module HasAttached class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def generate_config create_file "config/s3.yml", <<-CONTENT production: bucket: BUCKET_NAME access_key_id: ACCESS_KEY_ID secret_access_key: SECRET_ACCESS_KEY CONTENT create_file "config/styles.yml", <<-CONTENT styles: photo: large: "800x600" CONTENT end end end
Version data entries
12 entries across 12 versions & 1 rubygems