Ruby Grape Api extension with Cross-origin resource sharing