Commit 845f46ba by Nicolas Blanco

Merge pull request #19 from joevandyk/patch-1

Fix syntax in README
parents 11078e87 e5879f77
...@@ -120,7 +120,7 @@ end ...@@ -120,7 +120,7 @@ end
# complex array # complex array
param! :books_array, Array, required: true do |b| param! :books_array, Array, required: true do |b|
b.param! :title, String, blank: false b.param! :title, String, blank: false
b.param! :author, Hash, required: true, do |a| b.param! :author, Hash, required: true do |a|
a.param! :first_name, String a.param! :first_name, String
a.param! :last_name, String, required: true a.param! :last_name, String, required: true
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment