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.""M@param status [Integer] The HTTP Status Code to return for this request.:@line_rangeo:
Range:endi9:
begini7:	exclF:@scope:
instance:
@linei::@explicitT:@parameters[["status"nil:@files[["lib/grape/endpoint.rbi::@current_file_has_commentsT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.1.5 .yardoc/objects/Grape/Endpoint/status_i.dat
grape-0.1.4 .yardoc/objects/Grape/Endpoint/status_i.dat
grape-0.1.3 .yardoc/objects/Grape/Endpoint/status_i.dat