Sha256: 7d79555137272bc884af759a75b3e8908dc09762eb5fea3ee2e199ccc92fee5e
Contents?: true
Size: 1.2 KB
Versions: 3
Compression:
Stored size: 1.2 KB
Contents
o:$YARD::CodeObjects::MethodObject: @tags[ :@visibility:public:@signature"'def version(*new_versions, &block): @name:version:@namespaceu:YARD::StubProxyGrape::API:@source"|def version(*new_versions, &block) new_versions.any? ? nest(block){ set(:version, new_versions) } : settings[:version] end: @dynamicT:@docstring_extra0:@source_type: ruby:@docstringIC:YARD::Docstring"Specify an API version.:@objectu; Grape::API.version;[o:YARD::Tags::Tag ;u; Grape::API.version:@tag_name"example; "API with legacy support.:@types0: @text"©class MyAPI < Grape::API version 'v2' get '/main' do {:some => 'data'} end version 'v1' do get '/legacy' do {:legacy => 'data'} end end end:@ref_tags[ : @summary0: @all["Specify an API version."