Module: RestBooks::Api
- Included in:
- Authors, Books, Categories, Lists
- Defined in:
- lib/restbooks/mixins/api.rb
Constant Summary collapse
- BOOK_PARAMETERS =
[ :letter, :year, :lang, :page ]
- AUTHOR_PARAMETERS =
[ :letter, :born, :death, :lang, :page ]
- LIST_PARAMETERS =
[ :order, :page ]
- ORDERED_BOOK_PARAMETERS =
BOOK_PARAMETERS + [ :order ]
- RANGED_BOOK_PARAMETERS =
BOOK_PARAMETERS + [ :range ]
- ORDERED_AUTHOR_PARAMETERS =
AUTHOR_PARAMETERS + [ :order ]
- RANGED_AUTHOR_PARAMETERS =
AUTHOR_PARAMETERS + [ :range ]