Sha256: c7a7894c34485226c5993d7c9260584a6efbf8b312d1426890c1a967fca0171b
Contents?: true
Size: 345 Bytes
Versions: 5
Compression:
Stored size: 345 Bytes
Contents
require 'grape' require 'grape-swagger' class Napa::GrapeAPI < Grape::API def after @app_response[1]['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate' @app_response[1]['Pragma'] = 'no-cache' @app_response[1]['Expires'] = 'Fri, 01 Jan 1990 00:00:00 GMT' @app_response end add_swagger_documentation end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
napa-0.1.10 | lib/napa/grape_api.rb |
napa-0.1.7 | lib/napa/grape_api.rb |
napa-0.1.6 | lib/napa/grape_api.rb |
napa-0.1.4 | lib/napa/grape_api.rb |
napa-0.1.3 | lib/napa/grape_api.rb |