Appoinment API on Ruby on Rails