```
      raise Error::MissingAttributes.new("note is required.") unless params.has_key?(:note)
```