Class: Peel::API

Inherits:
Grape::API
  • Object
show all
Defined in:
lib/peel/api.rb

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object


3
4
5
6
7
8
9
# File 'lib/peel/api.rb', line 3

def self.inherited(base)
  base.include(Peel::ApiInclude)
  base.before do
    warden.authenticate!
  end
  super
end