File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
lib/slack-ruby-bot-server/ext/grape Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 22
33#### 0.8.3 (Next)
44
5+ * [ #88 ] ( https://github.com/slack-ruby/slack-ruby-bot-server/issues/88 ) : Fix: compatibility with Grape 1.2.x - [ @dblock ] ( https://github.com/dblock ) .
56* Your contribution here.
67
78#### 0.8.2 (2018/10/11)
Original file line number Diff line number Diff line change 11module Grape
22 class API
3- def self . sort ( value )
4- route_setting :sort , sort : value
5- value
3+ module Extensions
4+ module SortExtension
5+ def sort ( value )
6+ route_setting :sort , sort : value
7+ value
8+ end
9+ end
610 end
711 end
812end
13+
14+ if defined? Grape ::API ::Instance
15+ Grape ::API ::Instance . extend Grape ::API ::Extensions ::SortExtension
16+ else
17+ Grape ::API . extend Grape ::API ::Extensions ::SortExtension
18+ end
You can’t perform that action at this time.
0 commit comments