0
我遇到了Grape :: API的问题。我需要向服务器发送总发现体育中心的哈希:Rails葡萄api发送哈希并一起使用现有方法
{ :total => total_found }
,并使用共同存在
present sport_centers, :with => API::APISportCenterBasic
我haven't有任何想法怎么办的方法。
我需要一个total_found
在这里,因为我发送到其他服务器只有有限的体育中心计数,我需要一个总数。