sample api in ruby using grape microframework