Sha256: f64ac9abaddeb87dcf2c0410d5e3ff77ad8f3d24b3d5ad1af40b7d49401fd0fb

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

module Acme
  class HeaderVersioning < Grape::API
    version 'v1', using: :header, vendor: 'acme', format: :json, strict: true
    desc 'Returns acme.'
    get do
      { header: 'acme' }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vitals-0.4.0 integration/multiverse/grape-on-rack/api/header_versioning.rb
vitals-0.3.0 integration/multiverse/grape-on-rack/api/header_versioning.rb