Add this to your class definition above so you don't have to keep setting these attributes individually:
```ruby
def initialize(attributes = {})
  attributes.each do |name, value|
    send("#{name}=", value)
  end
end
```