Module: Oboe::Grape::API
- Defined in:
- lib/oboe/frameworks/grape.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(klass) ⇒ Object
7 8 9 |
# File 'lib/oboe/frameworks/grape.rb', line 7 def self.extended(klass) ::Oboe::Util.class_method_alias(klass, :inherited, ::Grape::API) end |
Instance Method Details
#inherited_with_oboe(subclass) ⇒ Object
11 12 13 14 15 |
# File 'lib/oboe/frameworks/grape.rb', line 11 def inherited_with_oboe(subclass) inherited_without_oboe(subclass) subclass.use ::Oboe::Rack end |