Looks like you're creating a fairly similar params hash in several places. What are your thoughts on creating the "default" hash once and storing it in a function call? That would provide this sort of API for specifying different fields:

```ruby
params = default_params.merge({ attachments: [upload_1, upload_2] })
```