Sha256: f1d08fe74aecd6dd53cca535294fdb777da93bc26c6de9eadab094d9b5160354

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

require "sapience"
require "sapience/extensions/grape/timings"
require "sapience/extensions/grape/middleware/logging"
require "sapience/extensions/grape/notifications"

module Grape
  class API
    extend Sapience::Descendants
  end
end

module Sapience
  class Grape
    Sapience.configure
    ::Grape::API.send(:include, Sapience::Loggable)
    Sapience::Extensions::Grape::Notifications.use
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sapience-1.0.9 lib/sapience/grape.rb
sapience-1.0.8 lib/sapience/grape.rb
sapience-1.0.7 lib/sapience/grape.rb
sapience-1.0.6 lib/sapience/grape.rb
sapience-1.0.5 lib/sapience/grape.rb
sapience-1.0.4 lib/sapience/grape.rb