Adding documentation on conditional attributes

Adding documentation and short example ([from this pull request](https://github.com/rails-api/active_model_serializers/pull/1403)) on conditional attributes.

Adding lambda literal notation and example.

Adding lambda literal notation and example, and fixing typo.

Removing PR reminder

Adding Changelog entry

Moving CHANGELOG entry under master (unreleased)

Use option instead of parameter
This commit is contained in:
André Aubin
2016-05-18 13:01:56 +02:00
committed by Andre Aubin
parent b5e2b41a33
commit efdee6041b
2 changed files with 13 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ Features:
Fixes:
Misc:
- [#1734](https://github.com/rails-api/active_model_serializers/pull/1734) Adds documentation for conditional attribute (@lambda2)
### [v0.10.0 (2016-05-17)](https://github.com/rails-api/active_model_serializers/compare/4a2d9853ba7...v0.10.0)