Quotes can be created internally through a simple CRUD interface. Simple HTTP Auth protection prevents unauthorized use. A public API is provided to request a random internal quote.
The internal quotes behave exactly the same way as external API's, in that the random quote method polls the internal quotes API and caches the quotes. This is to allow the quotes CRUD to be moved to a different server / environment in the future and to be consistent throughout the app on how quotes are handled.
Schema info
# Table name: internal_quotes
#
# id :integer(11) not null, primary key
# quote :text not null
# author :string(255)
Quotes can be created internally through a simple CRUD interface. Simple HTTP Auth protection prevents unauthorized use. A public API is provided to request a random internal quote.
The internal quotes behave exactly the same way as external API's, in that the random quote method polls the internal quotes API and caches the quotes. This is to allow the quotes CRUD to be moved to a different server / environment in the future and to be consistent throughout the app on how quotes are handled.
Schema info