Sha256: fa09af1c8efc79eb6136ca4f5076843d664a7f61faefde1b902fdc4693641ba3

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# LetterOpenerWebS3

Addon for `letter_opener_web` and `letter_opener` gems to store files on Amazon S3 

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'letter_opener_web_s3'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install letter_opener_web_s3

## Usage

Configure AWS credentials and domain to rails app assets

```ruby
LetterOpenerWebS3.configure do |spec|
  spec.s3_config = {
      region: AWS_S3_REGION,
      bucket_name: AWS_S3_BUCKET,
      access_key_id: AWS_S3_KEY_ID,
      secret_access_key: AWS_S3_ACCESS_KEY
  }
  spec.domain = APP_DOMAIN
end
```

## TODO

Need check letters with attachments 

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/letter_opener_web_s3. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
letter_opener_web_s3-0.1.0 README.md