Grape允许您快速将maven存储库依赖项添加到类路径中或者Grape是一个类似REST的API微框架,用Ruby编写,可以放在Rack上。
无法访问葡萄中间件中的env ['api.endpoint']
这里使用Grape write API函数。我想要限制API(API速率限制)。 lib / grape / extensions / grape_extension.rb模块Grape模块扩展模块ThrottleExtension def throttle(...
我正在API中返回一个资源(我是,使用Grape),但我还想返回关系对象(就像ember应用程序所期望的那样包含对象)。我怎样才能做到这一点?我......