Sha256: fbefbe3f38019b34ef7b5ae41aa5122f8803d3951f09398b93bb985533fd801f

Contents?: true

Size: 303 Bytes

Versions: 19

Compression:

Stored size: 303 Bytes

Contents

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

module Grape
  class API
    extend Sapience::Descendants
  end
end

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sapience-1.0.3 lib/sapience/grape.rb
sapience-1.0.2 lib/sapience/grape.rb
sapience-1.0.1 lib/sapience/grape.rb
sapience-1.0.0 lib/sapience/grape.rb
sapience-0.2.18 lib/sapience/grape.rb
sapience-0.2.17 lib/sapience/grape.rb
sapience-0.2.16 lib/sapience/grape.rb
sapience-0.2.15 lib/sapience/grape.rb
sapience-0.2.14 lib/sapience/grape.rb
sapience-0.2.13 lib/sapience/grape.rb
sapience-0.2.12 lib/sapience/grape.rb
sapience-0.2.11 lib/sapience/grape.rb
sapience-0.2.10 lib/sapience/grape.rb
sapience-0.2.9 lib/sapience/grape.rb
sapience-0.2.8 lib/sapience/grape.rb
sapience-0.2.7 lib/sapience/grape.rb
sapience-0.2.6 lib/sapience/grape.rb
sapience-0.2.5 lib/sapience/grape.rb
sapience-0.2.4 lib/sapience/grape.rb