Skip to content

Commit f271441

Browse files
author
Kim Burgestrand
committed
Rename extras to something less loaded.
1 parent 8161f53 commit f271441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ end # => { "name" => … }
102102

103103
FullProjectSerializer = Serial::Serializer.new do |h, project|
104104
h.merge(project, &ProjectSerializer)
105-
h.attribute(:extras, project.extras)
106-
end # { "name" => …, "extras" => … }
105+
h.attribute(:description, project.description)
106+
end # { "name" => …, "description" => … }
107107
```
108108

109109
### Composition

0 commit comments

Comments
 (0)