Sha256: d443188ea94eb0afe0fba83ecef556c1a6968705e09bd7aa78fb86d018298c68
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
o:$YARD::CodeObjects::MethodObject: @tags[ :@visibility:public:@signature"def status(status = nil): @name:status:@namespaceu:YARD::StubProxyGrape::Endpoint:@source"Ùdef status(status = nil) if status @status = status else return @status if @status case request.request_method.to_s.upcase when 'POST' 201 else 200 end end end: @dynamicT:@docstring_extra0:@source_type: ruby:@docstringIC:YARD::Docstring"*Set or retrieve the HTTP status code.:@objectu; Grape::Endpoint#status;[o:YARD::Tags::Tag ;u; Grape::Endpoint#status:@tag_name" param; "status:@types["Integer: @text"5The HTTP Status Code to return for this request.:@ref_tags[ : @summary0: @all["*Set or retrieve the HTTP status code."