Sha256: 8b22879cfee36c7dbc64d206a8bce6d4336023385839994879f888a39118c63c

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@tags[:@visibility:public:@signature"$def error!(message, status=403):
@name:error!:@namespaceu:YARD::StubProxyGrape::Endpoint:@source"_def error!(message, status=403)
  throw :error, :message => message, :status => status
end:
@dynamicT:@docstring_extra0:@source_type:	ruby:@docstringIC:YARD::Docstring"UEnd the request and display an error to the
end user with the specified message.:@objectu;
Grape::Endpoint#error!;[o:YARD::Tags::Tag
;u;
Grape::Endpoint#error!:@tag_name"
param;
"message:@types["String:
@text"The message to display.o;
;u;
Grape::Endpoint#error!;"
param;
"status;["Integer;"+the HTTP Status Code. Defaults to 403.:@ref_tags[:
@summary0:	@all[
"0End the request and display an error to the")end user with the specified message.""4@param message [String] The message to display."C@param status [Integer] the HTTP Status Code. Defaults to 403.:@line_rangeo:
Range:endi2:
begini.:	exclF:@scope:
instance:
@linei3:@explicitT:@parameters[["message0["status"403:@files[["lib/grape/endpoint.rbi3:@current_file_has_commentsT

Version data entries

3 entries across 3 versions & 1 rubygems

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