Sha256: 2e05107886a300f4efaa73b1ca8d987742388885b29b2739a26ebb33fd137a04
Contents?: true
Size: 366 Bytes
Versions: 16
Compression:
Stored size: 366 Bytes
Contents
module Grape class API module Extensions module SortExtension def sort(value) route_setting :sort, sort: value value end end end end end if defined? Grape::API::Instance Grape::API::Instance.extend Grape::API::Extensions::SortExtension else Grape::API.extend Grape::API::Extensions::SortExtension end
Version data entries
16 entries across 16 versions & 1 rubygems