Slide 105
Slide 105 text
input = {
"title" => "Hello Melbourne",
"body" => "Why I always forget my umbrella",
"published" => "1",
"published_at" => "2017-02-09 09:50"
}
ArticleSchema.(input).to_h
{
title: "Hello Melbourne",
body: "Why I always forget my umbrella"
published: true,
published_at: 2017-02-09 09:50:00 +1100
}