mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56:50 +00:00
Tiny improvement of README 0.90 syntax
This commit is contained in:
parent
f1c3268a54
commit
3b2788fc4f
16
README.md
16
README.md
@ -755,18 +755,18 @@ end
|
|||||||
"title": "New post",
|
"title": "New post",
|
||||||
"attachments": [
|
"attachments": [
|
||||||
{
|
{
|
||||||
"type": "image"
|
"type": "image",
|
||||||
"image": {
|
"image": {
|
||||||
"id": 3
|
"id": 3,
|
||||||
"name": "logo"
|
"name": "logo",
|
||||||
"url": "http://images.com/logo.jpg"
|
"url": "http://images.com/logo.jpg"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "video"
|
"type": "video",
|
||||||
"video": {
|
"video": {
|
||||||
"id": 12
|
"id": 12,
|
||||||
"uid": "XCSSMDFWW"
|
"uid": "XCSSMDFWW",
|
||||||
"source": "youtube"
|
"source": "youtube"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -793,11 +793,11 @@ end
|
|||||||
"title": "New post",
|
"title": "New post",
|
||||||
"attachment_ids": [
|
"attachment_ids": [
|
||||||
{
|
{
|
||||||
"type": "image"
|
"type": "image",
|
||||||
"id": 12
|
"id": 12
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "video"
|
"type": "video",
|
||||||
"id": 3
|
"id": 3
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user